Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege control-panel account
-
DeliveryCreate element draft with XSS payload as draft name
-
ExploitVictim administrator browses element index or relation field
-
ExecutionStored payload executes in admin's browser session
-
PersistRead CSRF token from Craft.csrfTokenValue
-
ImpactPOST to users/save-user to create new administrator account
Vulnerability 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. |
| Exploitation Conditions | The attacker must hold a Craft CMS control-panel account with permission to edit entries in at least one section and create drafts - a standard author or editor role, not an administrator. No special server-side configuration, plugin, or non-default setting is required; the vulnerable |
| Impact | The CVSS 4.0 score of 5.1 (Medium) correctly captures the cross-privilege stored XSS character of this vulnerability: network-reachable, low-complexity exploitation by a low-privilege authenticated user (PR:L, UI:P), with subsequent-system impact of Low for both confidentiality and integrity (SC:L/SI:L). Despite the moderate base score, real-world risk is materially higher than the number suggests. The victim interaction required (UI:P) is routine day-to-day activity - browsing element indexes and relation fields - not an adversarially-crafted phishing action. The GHSA advisory confirmed end-to-end impact on Craft Pro: an author-level payload successfully called |
| Exploit ScenarioDerived | An author-level Craft CMS user creates an entry draft and names it with a JavaScript payload that reads |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Stored XSS in Craft CMS's control panel allows a low-privilege author to execute arbitrary JavaScript in an administrator's authenticated session by injecting a malicious payload into a draft name, which is rendered without HTML encoding in element chips and cards. All Craft CMS installations running versions 5.0.0-RC1 through 5.10.8 (exclusive) are affected. An attacker who can create element drafts can harvest the administrator's CSRF token and issue privileged control-panel actions - including creating new administrator accounts - without the victim taking any action beyond routine browsing of element indexes or relation fields. No public exploit identified at time of analysis, though the vendor's GHSA advisory verified the account-creation impact end-to-end.
RemediationAI
Upgrade Craft CMS to version 5.10.8 or later via Composer: composer require craftcms/cms:^5.10.8. This is the vendor-released patch that introduces proper HTML encoding for the draftName field in the element chip/card rendering helper. The fix commit is https://github.com/craftcms/cms/commit/06c799148537ce960f6bc86e162b499947040eda and the advisory is at https://github.com/craftcms/cms/security/advisories/GHSA-2rp4-x2j7-qmcc. If immediate upgrade is not feasible, restrict control-panel accounts so that draft-creation permissions are granted only to explicitly trusted users - this removes the attacker's ability to store a payload, though it may constrain editorial workflows for organizations with contributor roles. Hiding drafts from element indexes for administrative users would reduce the exposure surface but would not eliminate it, since relation fields and element-selection fields also trigger the vulnerable rendering path.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-79 (Improper Neutralization of Input During Web Page Generation) describes the root cause: the server-side helper that renders element chips and cards writes the draftName field directly into HTML output without HTML entity encoding, despite correctly encoding surrounding path segments. Craft CMS is a PHP-based CMS distributed via Composer as craftcms/cms (CPE: cpe:2.3:a:craftcms:cms:*:*:*:*:*:*:*:*). The vulnerable rendering path is triggered in element indexes when drafts are visible, in relation and element-selection fields that reference a draft-carrying element, and in the drafts list - all routine control-panel UI surfaces. Craft CMS embeds a CSRF token (Craft.csrfTokenValue) directly in control-panel page JavaScript, making it trivially readable by any in-origin script. This is the third reported output-encoding gap in Craft CMS 5.x: GHSA-xrqc-p465-2xvg addressed structure entry titles and GHSA-3x4w-mxpf-fhqq addressed revision context menus, establishing a pattern of incremental encoding fixes in user-controlled label fields.
Know when Cms gets its next vulnerability
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Stored XSS delivered over the network by a low-privilege user (PR:L, UI:R) with scope change into the victim's session enabling CSRF-based admin actions (S:C, C:L, I:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Craft CMS versions before 5.10.8 contain a stored cross-site scripting vulnerability in the control panel where draft names are rendered without HTML encoding in element chips and cards. A low-privilege user who can create element drafts can inject malicious JavaScript that executes in the browser of any higher-privileged user viewing the affected element, allowing account creation and other authenticated actions.
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.
Cayin CMS suffers from an authenticated OS semi-blind command injection vulnerability using default credentials. Rated c
Multiple integer underflows in the icmLut_allocate function in International Color Consortium (ICC) Format library (iccl
phpKF CMS 3.00 Beta allows unauthenticated PHP file upload by disguising it as a PNG, then renaming it for execution. Po
Deserialization of Untrusted Data in the Sitecore.Security.AntiCSRF (aka anti CSRF) module in Sitecore CMS 7.0 to 7.2 an
Unauthenticated SQL injection in Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 allows remote attackers to read a
Deserialization of Untrusted Data in the anti CSRF module in Sitecore through 9.1 allows an authenticated attacker to ex
Unauthenticated file disclosure in LavaLite CMS through 10.1.2 allows remote attackers to download private stored files
Authenticated remote code execution in Craft CMS versions 5.5.0 through 5.9.13 allows admin users to execute arbitrary P
SQL injection vulnerability in hava_post.php in Havalite CMS 1.1.0 and earlier allows remote attackers to execute arbitr
Unrestricted file upload vulnerability in hava_upload.php in Havalite CMS 1.1.0 and earlier allows remote attackers to e
Cross-site request forgery (CSRF) vulnerability in Ilch CMS allows remote attackers to hijack the authentication of admi
Multiple cross-site scripting (XSS) vulnerabilities in Havalite 1.0.4 and earlier allow remote attackers to inject arbit
EUVD-2026-57447
GHSA-xh8r-pv2v-rc22
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB