{"id":"GHSA-3x4w-mxpf-fhqq","summary":"Craft CMS Vulnerable to Stored XSS in Revision Context Menu","details":"The revision/draft context menu in the element editor renders the creator’s `fullName` as raw HTML due to the \nuse of `Template::raw()` combined with `Craft::t()` string interpolation. A low-privileged control panel user\n(e.g., Author) can set their fullName to an XSS payload via the profile editor, then create an entry with two\nsaves.\n\nIf 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.\n\nUsers should update to Craft 5.9.11 with the patch to mitigate the issue.","aliases":["CVE-2026-33051"],"modified":"2026-03-20T21:35:34.087692Z","published":"2026-03-18T12:58:23Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-03-18T12:58:23Z","nvd_published_at":"2026-03-20T06:16:12Z"},"references":[{"type":"WEB","url":"https://github.com/craftcms/cms/security/advisories/GHSA-3x4w-mxpf-fhqq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33051"},{"type":"WEB","url":"https://github.com/craftcms/cms/commit/f634a9d21edcafd83a6716047d275f985aba6be1"},{"type":"PACKAGE","url":"https://github.com/craftcms/cms"},{"type":"WEB","url":"https://github.com/craftcms/cms/releases/tag/5.9.11"}],"affected":[{"package":{"name":"craftcms/cms","ecosystem":"Packagist","purl":"pkg:composer/craftcms/cms"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.9.0-beta.1"},{"fixed":"5.9.11"}]}],"versions":["5.9.0","5.9.0-beta.1","5.9.0-beta.2","5.9.1","5.9.10","5.9.2","5.9.3","5.9.4","5.9.5","5.9.6","5.9.7","5.9.8","5.9.9"],"database_specific":{"last_known_affected_version_range":"\u003c= 5.9.10","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-3x4w-mxpf-fhqq/GHSA-3x4w-mxpf-fhqq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}