XSS in Craftcms Cms
CVE-2026-33051
- CVSS v3
- 5.4 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 20.8th percentile
- Published
- 2026-03-20
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 20.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Craftcms Cms — versions >= 5.9.0-beta.1, < 5.9.11
- Craftcms Craft Cms
Weakness classification (CWE)
References
- https://github.com/craftcms/cms/security/advisories/GHSA-3x4w-mxpf-fhqq (Patch, Vendor Advisory)
- https://github.com/craftcms/cms/commit/f634a9d21edcafd83a6716047d275f985aba6be1 (Patch)
- https://github.com/craftcms/cms/releases/tag/5.9.11 (Product, Release Notes)