CVE-2026-33051
MEDIUMVulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | While CVSS and EPSS scores are not provided, the real-world risk is substantial and clearly present. The attack requires two conditions: (1) a low-privileged authenticated user must set their fullName to an XSS payload via the profile editor, and (2) an administrator must be logged in and view the revision context menu while the elevated session is active. This is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), which is consistently high-impact. The attack vector is network-based, requires authentication, and has low complexity—making it a realistic threat in environments where administrators regularly review revisions. The privilege escalation impact (attacker moving from Author to Administrator) significantly amplifies risk. No KEV designation or public POC is noted in the provided intelligence, but vendor patch availability and rapid release of version 5.9.11 suggest the vendor considered this sufficiently critical for immediate remediation. |
| Exploit ScenarioDerived | An attacker with Author-level access to a Craft CMS control panel modifies their profile fullName field to contain a malicious JavaScript payload (e.g., a script that changes their user role to Administrator when executed in an admin's browser context). The attacker then creates and saves an entry twice to trigger the revision/draft context menu. When an administrator views the revision history, the XSS payload in the creator's fullName executes in the admin's browser session with the admin's elevated privileges, allowing the attacker to modify their own user record to grant administrator access. No public POC has been identified in the provided intelligence, but the straightforward attack chain (profile edit → revision creation → admin viewing) suggests exploitation complexity is low for authenticated attackers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 18, 2026
This vulnerability is a stored cross-site scripting (XSS) flaw in Craft CMS's element editor revision/draft context menu that renders user-supplied fullName data as raw HTML without proper sanitization. A low-privileged control panel user (such as an Author) can inject malicious JavaScript into their profile's fullName field, which executes when an administrator views the revision context menu. If weaponized with a carefully crafted payload while an administrator is authenticated, an attacker can escalate their account privileges to administrator level. A patch is available in Craft CMS version 5.9.11.
RemediationAI
Immediately upgrade Craft CMS to version 5.9.11 or later via Composer (composer update craftcms/cms). The patch has been committed to the vendor repository (commit f634a9d21edcafd83a6716047d275f985aba6be1) and is available in the official release. Until patching can be completed, restrict control panel access to trusted administrators only, disable profile editing for low-privileged users if possible, and review fullName fields in the database for any suspicious content. Additionally, consider implementing Content Security Policy (CSP) headers to mitigate the impact of any injected scripts. Refer to the official advisory at https://github.com/craftcms/cms/security/advisories/GHSA-3x4w-mxpf-fhqq for comprehensive patching details.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from improper output encoding in Craft CMS (CPE: pkg:composer/craftcms/cms) where the Template::raw() function is combined with Craft::t() string interpolation without HTML escaping the fullName variable. This violates CWE-79 (Improper Neutralization of Input During Web Page Generation) because user-controlled data from the profile editor is rendered directly into HTML context without sanitization. The affected code path involves the revision/draft context menu in the element editor, which retrieves the creator's fullName and renders it as raw HTML markup rather than escaped text, allowing arbitrary HTML and JavaScript injection.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
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.
Executive ViewAI
CVE-2026-33051 presents moderate security risk, a cross-site scripting vulnerability rated CVSS 5.4. Attackers could inject scripts to steal sessions or perform actions as authenticated users. A patch is available and should be applied during regular vulnerability management.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
GHSA-3x4w-mxpf-fhqq
NVD
CVE.org
EPSS
VulDB
Exploit-DB