Vulnerability · Published Mar 20, 2026 · Assigned by GitHub_M
CVE-2026-33051Craft CMS Vulnerable to Stored XSS in Revision Context Menu
Medium 5.3
In plain English
A medium-severity cross-site scripting in cms from craftcms. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Craft CMS is a content management system (CMS). In versions 5.9.0-beta.1 through 5.9.10, the revision/draft context menu in the element editor renders the creator’s fullName as raw HTML due to the use of Template::raw() combined with Craft::t() string interpolation. A low-privileged control panel user (e.g., Author) can set their fullName to an XSS payload via the profile editor, then create an entry with two saves. If an administrator is logged in and executes a specifically crafted payload while an elevated session is active, the attacker’s account can be elevated to administrator. This issue has been fixed in version 5.9.11.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | craftcms/cms | 5.9.11 | GHSA-3x4w-mxpf-fhqq |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
References
- https://github.com/craftcms/cms/security/advisories/GHSA-3x4w-mxpf-fhqq x_refsource_CONFIRM
- https://github.com/craftcms/cms/commit/f634a9d21edcafd83a6716047d275f985aba6be1 x_refsource_MISC
- https://github.com/craftcms/cms/releases/tag/5.9.11 x_refsource_MISC