{"id":"CVE-2026-33051","aliases":["CVE-2026-33051","GHSA-3x4w-mxpf-fhqq"],"related":[],"kind":"vulnerability","state":"published","title":"Craft CMS Vulnerable to Stored XSS in Revision Context Menu","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Craft CMS es un sistema de gestión de contenido (CMS). En las versiones 5.9.0-beta.1 a 5.9.10, el menú contextual de revisión/borrador en el editor de elementos renderiza el fullName del creador como HTML sin procesar debido al uso de Template::raw() combinado con la interpolación de cadenas de Craft::t(). Un usuario del panel de control con privilegios bajos (por ejemplo, Autor) puede establecer su fullName a una carga útil de XSS a través del editor de perfil, luego crear una entrada con dos guardados. Si un administrador ha iniciado sesión y ejecuta una carga útil específicamente diseñada mientras una sesión elevada está activa, la cuenta del atacante puede ser elevada a administrador. Este problema ha sido solucionado en la versión 5.9.11.","source":"nvd"}],"published":"2026-03-18T12:58:23.000Z","modified":"2026-06-17T10:36:51.983Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 5.9.0-beta.1, < 5.9.11","status":"affected"}],"vendor":"craftcms","product":"cms","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.9.0-beta.1","status":"affected","fixed":"5.9.11"}],"ecosystem":"Packagist","package":"craftcms/cms","purl":"pkg:composer/craftcms/cms","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.9.0","fixed":"5.9.11"}],"vendor":"craftcms","product":"craft_cms","cpe":"cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-3x4w-mxpf-fhqq","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/craftcms/cms/commit/f634a9d21edcafd83a6716047d275f985aba6be1","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/craftcms/cms/releases/tag/5.9.11","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33051","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/craftcms/cms","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-24T01:53:08.858Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33051","url":"https://www.cve.org/CVERecord?id=CVE-2026-33051","licence":"CVE Terms of Use","modified":"2026-03-24T01:53:57.615Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3x4w-mxpf-fhqq","url":"https://github.com/advisories/GHSA-3x4w-mxpf-fhqq","licence":"CC-BY-4.0","modified":"2026-03-20T21:35:34.087Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33051","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33051","licence":"Public domain","modified":"2026-06-17T10:36:51.983Z"}],"updatedAt":"2026-11-25T22:59:16.287Z","epss":{"score":0.0028,"percentile":0.22027,"date":"2026-12-01T12:00:22.000Z"}}