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.
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