NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

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

mediumCVSS 4.0 5.3GHSA-3x4w-mxpf-fhqq

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.

Published Mar 18, 2026 · Updated Mar 20, 2026

Affected packages

craftcms/cms

Ecosystem
Composer (PHP)
Affected
>= 5.9.0-beta.1, <= 5.9.10
Fixed in
5.9.11
Check
composer show craftcms/cms

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to Neosprings.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries