CVE-2026-33051 Craft CMS Vulnerable to Stored XSS in Revision Context Menu
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHP
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| craftcms cms(Packagist) | = 5.9.0; = 5.9.0-beta.1; = 5.9.0-beta.2; = 5.9.1 +11 more | 5.9.11 | Fixed |
| craftcms craft cms | >= 5.9.0, < 5.9.11 | 5.9.11 | Fixed |
| craftcms cms | = >= 5.9.0-beta.1, < 5.9.11 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| craftcms cms(Packagist) | >= 5.9.0-beta.1, < 5.9.11 | 5.9.11 |
| craftcms cms(Packagist) | = 5.9.0 | No fix listed |
| craftcms cms(Packagist) | = 5.9.0-beta.1 | No fix listed |
| craftcms cms(Packagist) | = 5.9.0-beta.2 | No fix listed |
| craftcms cms(Packagist) | = 5.9.1 | No fix listed |
| craftcms cms(Packagist) | = 5.9.10 | No fix listed |
| craftcms cms(Packagist) | = 5.9.2 | No fix listed |
| craftcms cms(Packagist) | = 5.9.3 | No fix listed |
| craftcms cms(Packagist) | = 5.9.4 | No fix listed |
| craftcms cms(Packagist) | = 5.9.5 | No fix listed |
| craftcms cms(Packagist) | = 5.9.6 | No fix listed |
| craftcms cms(Packagist) | = 5.9.7 | No fix listed |
| craftcms cms(Packagist) | = 5.9.8 | No fix listed |
| craftcms cms(Packagist) | = 5.9.9 | No fix listed |
| craftcms cms | = >= 5.9.0-beta.1, < 5.9.11 | No fix listed |
| craftcms cms(Packagist) | >= 5.9.0-beta.1, <= 5.9.10 | No fix listed |
| craftcms craft cms | >= 5.9.0, < 5.9.11 | 5.9.11 |
References
- https://github.com/craftcms/cms/security/advisories/GHSA-3x4w-mxpf-fhqq patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/craftcms/cms/commit/f634a9d21edcafd83a6716047d275f985aba6be1 patch
- github.com product
- https://github.com/craftcms/cms/releases/tag/5.9.11 product release-notes
- github.com