GitHub Advisoryadvisory · Packagist
GHSA-3x4w-mxpf-fhqq Craft CMS Vulnerable to Stored XSS in Revision Context Menu
MEDIUM
Official page ↗
- Aliases
- CVE-2026-33051
- Ecosystem
- Packagist
- Packages
- craftcms/cms
- Severity
- Moderate
- CVSS 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
- Weaknesses
- CWE-79
- Reviewed
- 2026-03-18
Affected packages
• Packagist craftcms/cms: >= 5.9.0-beta.1, < 5.9.11 → fixed in 5.9.11
Description
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.
Users should update to Craft 5.9.11 with the patch to mitigate the issue.
Related
Alias · CVE (1)
- CVE-2026-33051 Craft CMS is a content management system (CMS). vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/craftcms/cms/security/advisories/GHSA-3x4w-mxpf-fhqq web
- https://nvd.nist.gov/vuln/detail/CVE-2026-33051 advisory
- https://github.com/craftcms/cms/commit/f634a9d21edcafd83a6716047d275f985aba6be1 web
- https://github.com/craftcms/cms package
- https://github.com/craftcms/cms/releases/tag/5.9.11 web