Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain content-editor account
-
DeliveryInject JavaScript into CMS page component
-
ExploitPayload stored unsanitized (CSP disabled)
-
ExecutionVictim/admin renders the page
-
ImpactScript executes in victim browser
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 | Two concrete prerequisites must BOTH hold: (1) the attacker possesses authenticated content-editor privileges in the Aimeos GrapesJS CMS page editor (able to create/edit content components), and (2) the standard Content Security Policy is explicitly DISABLED - the vendor confirms CSP is active by default in production mode and that an exploit is not possible while it is active. Exploitation is further limited by requiring victim user interaction (another user or admin must view the malicious page) for the stored payload to execute. These factors make exploitation dependent on both a trusted insider and a hardened-by-default protection being turned off. |
| Impact | This is a genuinely low-priority issue despite its MEDIUM 6.1 CVSS rating. Multiple signals converge on low real-world risk: EPSS is 0.04% (12th percentile), there is no CISA KEV listing (no public exploit identified at time of analysis), and no POC was provided. More importantly, exploitation is doubly gated - the attacker must already be an authenticated content editor, AND the deployment must have the standard Content Security Policy disabled, which the vendor states is active by default in production mode. There is a notable CONFLICT in the input: the NVD CVSS vector encodes PR:N (unauthenticated), but the GitHub Security Advisory explicitly titles this 'exploitable by authenticated editors' and attributes injection to 'malicious editors' - the advisory should be trusted over the vector here, meaning a privileged insider is required, not an anonymous remote attacker. The CVSS AC:L also understates reality, since the non-default requirement that CSP be disabled is a significant limiting factor. Net: a stored XSS requiring both editor-level trust and a hardened default protection to be switched off - defensible as low urgency, patch during normal maintenance cycles. |
| Exploit ScenarioDerived | A user with content-editor privileges on an Aimeos GrapesJS-powered site whose administrator has disabled the default Content Security Policy crafts a CMS content component containing malicious JavaScript, which is stored unsanitized. When another user or administrator later views the rendered page, the script executes in their browser session. No public exploit code was identified; exploitation requires editor access and a non-default CSP-disabled configuration. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 18, 2026
Stored cross-site scripting in the Aimeos ai-cms-grapesjs page-editor extension allows an authenticated content editor to save JavaScript inside content components, which then executes in the browser of any user or administrator who opens the manipulated page. Exploitation requires two conditions to hold at once - editor-level privileges in the CMS backend and the standard Content Security Policy being explicitly disabled; the vendor states CSP is enabled by default in production mode, where the stored payload cannot run. No public exploit code has been identified and EPSS is only 0.04% (12th percentile), consistent with a low-priority but real insider-driven issue; patched releases are available from the vendor.
Earlier versions of this analysis (1)
RemediationAI
Upgrade aimeos/ai-cms-grapesjs to the fixed build for your release line via Composer - 2021.10.8, 2022.10.9, 2023.10.15, 2024.10.8 or 2025.10.8 (EUVD references 2025.10.2 for the 2025 branch, so install the newest 2025 release available); the upstream fix is commit 2214f71ac27cdea25f11c8adf6bb5816db47a042, which adds ezyang/htmlpurifier and sanitizes text.content on save. Details are in https://github.com/aimeos/ai-cms-grapesjs/security/advisories/GHSA-424m-fj2q-g7vg. Because sanitization is applied at input time, audit or re-save CMS content pages created before the patch to purge any previously stored payloads. If an immediate upgrade is not possible, keep the standard CSP enabled - the vendor confirms the default production configuration blocks exploitation, and disabling CSP for debugging or third-party embeds reopens the hole; avoid loosening script-src/unsafe-inline directives as a workaround. Additionally, restrict page-editor accounts to trusted staff and review editor role assignments, since the attack requires legitimate editor privileges (assessed as PR:L) and the payload only fires when a victim with UI:R interaction views the page.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 6 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
ai-cms-grapesjs is an Aimeos extension (Composer package aimeos/ai-cms-grapesjs) that bundles the GrapesJS drag-and-drop page builder into the Aimeos admin backend so editors can compose content pages from reusable components. The flaw is CWE-79 cross-site scripting, specifically the stored variant: the admin controller src/Admin/JQAdm/Cms/Content/Standard.php wrote the field text.content to storage without sanitizing embedded markup, so script payloads persisted in the CMS database and were re-rendered to every subsequent viewer. The upstream fix (commit 2214f71ac27cdea25f11c8adf6bb5816db47a042) adds ezyang/htmlpurifier ^4.19 to composer.json and pipes text.content through HTMLPurifier_Config::createDefault() with Attr.AllowedFrameTargets restricted to _blank and _self before saving. Because sanitization happens on input rather than output, any payload already stored before the upgrade is not automatically cleaned and should be reviewed. CPE entries use wildcard version ranges for aimeos:grapesjs_cms, so version-based detection must come from the Composer package metadata rather than CPE matching alone.
Know when Grapesjs 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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Requires authenticated editor access (PR:L per advisory, not PR:N) and the non-default disabling of CSP (AC:H); stored XSS needs victim viewing (UI:R) and crosses into the victim's browser (S:C) with limited C/I impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
The Aimeos GrapesJS CMS extension provides page editor for creating content pages based on extensible components. Prior to 2021.10.8, 2022.10.8, 2023.10.8, 2024.10.8, and 2025.10.8, Javascript code can be injected by malicious editors for a stored XSS attack if the standard Content Security Policy is disabled. This vulnerability is fixed in 2021.10.8, 2022.10.8, 2023.10.8, 2024.10.8, and 2025.10.8.
Executive ViewAI
A stored cross-site scripting (XSS) vulnerability in the Aimeos GrapesJS CMS extension allows malicious content editors to inject harmful JavaScript code into pages, potentially compromising website visitors and enabling credential theft or malware distribution. This vulnerability affects organizations using Aimeos CMS versions prior to the patched releases and requires immediate attention if Content Security Policy is not fully enabled.
Apply vendor patch. If immediate patching is not possible, implement strict Content Security Policy (CSP) headers with script-src restrictions, restrict page editor access to trusted personnel only, implement Web Application Firewall (WAF) rules to block suspicious JavaScript patterns in editor submissions, and enable security monitoring and logging on all CMS content modifications.
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.
EUVD-2025-200307
GHSA-424m-fj2q-g7vg
NVD
CVE.org
EPSS
Exploit-DB