CVE-2026-72787: Craft CMS: Stored XSS in the control panel via unescaped draft name

CVE-2026-72787 · Severity: medium · CVSS 6.4 · Published 2026-08-12

Craft CMS versions before 5.10.8 contain a stored cross-site scripting vulnerability in the control panel where draft names are rendered without HTML encoding in element chips and cards. A low-privilege user who can create element drafts can inject malicious JavaScript that executes in the browser of any higher-privileged user viewing the affected element, allowing account creation and other authenticated actions.

Technologies: craftcms/cms (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2026-72787 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-72787 being exploited in the wild.
How severe is CVE-2026-72787?
Medium severity, with a CVSS score of 6.4, published 12 August 2026.
Which products and versions are affected?
craftcms/cms (Packagist) ECOSYSTEM:introduced=5.0.0-RC1,fixed=5.10.8.
Is there a fix for CVE-2026-72787?
Yes. craftcms/cms (Packagist): upgrade to 5.10.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-72787?
Check whether you run craftcms/cms (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • craftcms/cms (Packagist): upgrade to 5.10.8 or later
    composer require craftcms/cms:^5.10.8

Affected products

  • craftcms/cms (Packagist) ECOSYSTEM:introduced=5.0.0-RC1,fixed=5.10.8

Identifiers

  • CVE-2026-72787
  • GHSA-2rp4-x2j7-qmcc

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.