Craft CMS Vulnerable to Stored XSS in Revision Context Menu
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
craftcms/cmsPackagist | >= 5.9.0-beta.1, < 5.9.11 | 5.9.11 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-3x4w-mxpf-fhqqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-33051ghsaADVISORY
- github.com/craftcms/cms/commit/f634a9d21edcafd83a6716047d275f985aba6be1ghsax_refsource_MISCWEB
- github.com/craftcms/cms/releases/tag/5.9.11ghsax_refsource_MISCWEB
- github.com/craftcms/cms/security/advisories/GHSA-3x4w-mxpf-fhqqghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.