5.3medium
Craft CMS Vulnerable to Stored XSS in Revision Context Menu
- Severity
- 5.3medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.28% (higher than 22% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-3x4w-mxpf-fhqq
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| craftcms cms | >= 5.9.0-beta.1, < 5.9.11 | CVE List |
| craftcms/cms (Packagist) | from 5.9.0-beta.1 before 5.9.11 | GitHub Advisory Database |
| craftcms craft_cms | from 5.9.0 before 5.9.11 | NVD |
All scores
| GitHub_M | 5.3medium CVSS:4.0 | 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 |
| GitHub | medium CVSS:4.0 | 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 |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
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.
References
| https://github.com/craftcms/cms/security/advisories/GHSA-3x4w-mxpf-fhqq | patch, vendor-advisory, web | |
| https://github.com/craftcms/cms/commit/f634a9d21edcafd83a6716047d275f985aba6be1 | patch, web | |
| https://github.com/craftcms/cms/releases/tag/5.9.11 | product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-33051 | advisory | |
| https://github.com/craftcms/cms | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-33051 changed 2026-03-24 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3x4w-mxpf-fhqq changed 2026-03-20 | CC-BY-4.0 |
| NVD | CVE-2026-33051 changed 2026-06-17 | Public domain |