CVE-2026-33051: Craft CMS - Stored XSS & Privilege Escalation
- Cve: CVE-2026-33051
- Name: Craft CMS - Stored XSS & Privilege Escalation
- 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.
- Impact: Attackers can execute scripts and escalate their privileges to administrator, compromising the entire system.
- Remediation: Update to version 5.9.11 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec, privilege_escalation
- Requirement type: logged_in
- Requirements: Administrator must be logged in with an active session
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.0028
- Epss percentile: 0.20595
- Assignee: [email protected]
- Published at: 2026-03-20T06:16:12Z
- Age in days: 249
- Modified at: 2026-06-17T10:36:51Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-33051
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/craftcms/cms/commit/f634a9d21edcafd83a6716047d275f985aba6be1 | Patch |
| https://github.com/craftcms/cms/security/advisories/GHSA-3x4w-mxpf-fhqq | Patch, Vendor Advisory |
| https://github.com/craftcms/cms/releases/tag/5.9.11 | Product, Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| craftcms:craft_cms | >= 5.9.0, < 5.9.11 | no | nvd | /v1/products/craftcms/craft_cms |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| craftcms/cms | commit, fix, package, releases, security_advisory | yes | /v1/repositories/craftcms/cms |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 34344
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports