CVE-2026-33051: Craft CMS Vulnerable to Stored XSS in Revision Context Menu

Published Mar 18, 2026
·
Updated

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.

Other sources

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.

GitHub

Affected Software

2 affected componentsFixes available
composer/craftcms/cms>=5.9.0-beta.1<=5.9.10
5.9.11
CraftCMS Craft CMS>=5.9.0<5.9.11

Event History

Mar 18, 2026
Advisory Published
via GitHub·12:58 PM
Data Sourced
via GitHub·12:58 PM
DescriptionWeaknessAffected Software
Mar 20, 2026
CVE Published
via MITRE·05:56 AM
Data Sourced
via MITRE·05:56 AM
DescriptionWeakness
Data Sourced
via NVD·06:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-33051?

CVE-2026-33051 has a low severity rating due to its limited impact on low-privileged control panel users.

2

How do I fix CVE-2026-33051?

To fix CVE-2026-33051, upgrade to Craft CMS version 5.9.11 or later.

3

Who is affected by CVE-2026-33051?

CVE-2026-33051 impacts low-privileged control panel users, such as Authors, who can exploit the vulnerability.

4

What is the nature of the vulnerability in CVE-2026-33051?

CVE-2026-33051 is an XSS vulnerability that arises from improperly rendering user input as raw HTML.

5

How does CVE-2026-33051 allow exploitation?

CVE-2026-33051 allows exploitation through the profile editor, where a user can set their fullName to an XSS payload.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203