Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as product-editing admin
-
DeliveryInject on*/SVG/javascript: payload in product description field
-
ExploitPayload stored (only <script> stripped) and rendered via Smarty
-
ExecutionVictim views product page
-
PersistScript executes in victim browser (scope change)
-
ImpactSteal session / perform browser-context actions
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 | Requires an authenticated CubeCart back-office account with product-editing rights (PR:H) to store the malicious markup in the description, description_short, or spec_copy CKEditor fields; the pre-6.7.5 handler in admin/sources/products.index.inc.php stripped only <script> tags, so event-handler attributes, SVG content, and javascript: URIs survive. Execution additionally requires a victim (storefront visitor or another administrator) to VIEW the affected product content (UI:R) - the payload does not fire on its own. Exploitation is blocked by upgrading to 6.7.5, which routes these fields through Sanitize::htmlClean() (DOMDocument allowlist that removes on* handlers, srcdoc, unsafe URI schemes, and strips script/svg/iframe/object subtrees). |
| Impact | This is a stored/persistent XSS (CWE-79) with a genuinely mid-range real-world risk profile that the 4.8 CVSS score captures well. The vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N shows the two main brakes on this issue: it requires an already-authenticated administrator with product-editing rights (PR:H) to plant the payload, and it requires a victim to actually view the poisoned product content (UI:R). The offsetting amplifier is S:C (scope change) - the stored payload executes in the browser context of a different principal, notably unauthenticated storefront visitors and OTHER administrators, which is what makes an operator-injected flaw more than self-XSS. A public exploit exists (exploit-db 52662), so publicly available exploit code exists; however there is NO CISA KEV listing and no EPSS score was provided, so there is no evidence of active exploitation - POC availability and active exploitation are distinct signals and should not be conflated. No SSVC decision data was supplied. Net: this is a real but not urgent priority - the PR:H prerequisite means the attacker must be a semi-trusted insider (or have compromised such an account), which is why it is not a critical remote-unauth issue despite AV:N. The most credible high-impact framing is admin-to-admin escalation (one malicious/compromised product editor phishing a super-admin into viewing the product). |
| Exploit ScenarioDerived | A CubeCart back-office user who has product-editing rights (e.g. a merchandiser, drop-shipper, or a compromised staff account) edits a product and inserts an event-handler attribute, SVG-based payload, or a javascript: URI into the description, description_short, or spec_copy rich-text fields, which the pre-6.7.5 code only scrubbed for literal <script> tags. When a storefront shopper opens that product page - or another administrator previews it in the back office - the script runs in their browser, exposing session data or performing unauthorized actions as that victim. A public PoC (exploit-db 52662) documents the filter bypass. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
Stored cross-site scripting in CubeCart versions prior to 6.7.5 allows an authenticated administrator holding product-editing rights to persist malicious HTML into the product description, description_short, and spec_copy rich-text fields, which then executes JavaScript in the browser of any storefront visitor or fellow administrator who views the affected product. The pre-6.7.5 handler in admin/sources/products.index.inc.php stripped only <script> elements, so event-handler attributes, SVG markup, and javascript: URIs survived storage and were later rendered through Smarty templates. Publicly available exploit code exists (Exploit-DB 52662); there is no indication of confirmed active exploitation (not listed in CISA KEV), and the assessed CVSS of 4.8 reflects the high privilege (PR:H) and user-interaction (UI:R) prerequisites that temper real-world reach.
RemediationAI
Upgrade CubeCart to version 6.7.5 or later, which is the vendor-released patch for this issue and routes all three affected rich-text fields through the new Sanitize::htmlClean() DOMDocument allowlist sanitizer. Apply the update from the official release at https://github.com/cubecart/v6/releases/tag/6.7.5, and verify the deployment contains the two fixing commits (https://github.com/cubecart/v6/commit/bd2dcdcc7da55a3731fe288b54cac8bfa3d9142a and https://github.com/cubecart/v6/commit/f7abe7484691a33abcbc0806fca59d605024a75c) as described in advisory GHSA-43f6-gfcf-wj9c. If immediate upgrading is not possible, compensating controls are the only option: restrict product-editing rights to the smallest possible set of trusted administrators, since exploitation requires an authenticated back-office account with those rights; audit existing product records for stored event-handler attributes, inline SVG, and javascript: URIs and cleanse them manually; and deploy a Content Security Policy that disallows inline script and restricts script-src to trusted origins, understanding that CSP may break legitimate CKEditor or storefront functionality and is a mitigation rather than a fix. Note that the payload only fires when a victim (storefront visitor or another administrator) views the affected product page, so the residual risk window is largely determined by how quickly stored malicious content is reviewed and removed. No patched version other than 6.7.5 should be assumed, and users must not rely on generic input filters already present in older releases, as those demonstrably failed to block the bypass techniques involved.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CubeCart is a PHP-based ecommerce platform, and this defect is a classic stored (persistent) CWE-79 cross-site scripting issue rooted in an incomplete input-sanitization filter rather than a framework bug. Before 6.7.5, admin/sources/products.index.inc.php read the CKEditor rich-text fields description, description_short, and spec_copy directly from $GLOBALS['RAW']['POST'] and applied only a regular-expression strip of <script>...</script> blocks. That denylist approach ignored equally dangerous vectors: inline event-handler attributes (onerror, onmouseover, etc.), SVG elements capable of carrying script, and javascript: URIs in href/src, all of which Smarty then emitted into storefront and admin HTML without re-encoding. The 6.7.5 fix introduces Sanitize::htmlClean() in classes/sanitize.class.php, which loads the markup into a DOMDocument, enforces an allowlist of safe formatting tags, removes any attribute beginning with 'on' as well as srcdoc, blocks unsafe URI schemes (permitting only http, https, mailto, and tel), and drops the entire subtree of script, style, iframe, object, embed, svg, math, and similar tags. The vulnerability class is therefore best understood as a parsing-context-aware sanitization gap: the fix moves from a naive regex denylist to a DOM-based allowlist, which is the correct treatment for HTML injection in a rich-text editor context.
Know when Cubecart 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:H/UI:R/S:C/C:L/I:L/A:N
Payload injection needs an authenticated product-editing admin (PR:H) and a victim must view the content (UI:R); stored script runs in another principal's browser (S:C) with limited confidentiality/integrity impact and no availability effect.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
CubeCart is an ecommerce software solution. Prior to 6.7.5, admin/sources/products.index.inc.php reads the description, description_short, and spec_copy rich-text fields from $GLOBALS['RAW']['POST'] and removes only script elements before the values are stored and rendered through Smarty templates. An administrator with product-editing rights can store event-handler attributes, SVG content, or javascript: URIs that bypass this filter, causing persistent JavaScript execution when a storefront visitor or another administrator views the product content and enabling session exposure or unauthorized browser-context actions. This issue is fixed in version 6.7.5.
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.
The Cubecart::_basket method in classes/cubecart.class.php in CubeCart 5.0.0 through 5.2.0 allows remote attackers to un
Directory Traversal vulnerability in CubeCart v.6.5.5 and before allows an attacker to execute arbitrary code via a craf
Multiple open redirect vulnerabilities in CubeCart 3.0.20 and earlier allow remote attackers to redirect users to arbitr
File Upload vulnerability in CubeCart before 6.5.5 allows an authenticated user to execute arbitrary code via a crafted
Session fixation vulnerability in CubeCart before 5.2.9 allows remote attackers to hijack web sessions via the PHPSESSID
Authenticated SQL injection in CubeCart before 6.7.5 allows an administrator with access to the admin settings page to m
classes/admin.class.php in CubeCart 5.2.12 through 5.2.16 and 6.x before 6.0.7 does not properly validate that a passwor
CubeCart is an ecommerce software solution. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable
Reflected cross-site scripting in CubeCart versions prior to 6.7.5 allows unauthenticated remote attackers to execute Ja
Reflected XSS in CubeCart v6 (prior to 6.7.0) enables unauthenticated remote attackers to execute arbitrary JavaScript i
CubeCart is an ecommerce software solution. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable
CubeCart is an ecommerce software solution. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable
EUVD-2026-82532
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB
GitHub
VulDB