Skip to main content

CubeCart EUVDEUVD-2026-82532

| CVE-2026-54645 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-17 security-advisories@github.com
4.8
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as product-editing admin
  2. Delivery
    Inject on*/SVG/javascript: payload in product description field
  3. Exploit
    Payload stored (only <script> stripped) and rendered via Smarty
  4. Execution
    Victim views product page
  5. Persist
    Script executes in victim browser (scope change)
  6. Impact
    Steal 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 1.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

v6 < 6.7.5

Affected Packages

euvd v6 fix: 6.7.5

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

Vendor (github) PRIMARY 4.8 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 4.8 MEDIUM

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.

3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Sep 17, 2026 - 23:04 EUVD
CVE Published
Sep 17, 2026 - 22:17 cve.org
MEDIUM 4.8

DescriptionCVE.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

EPSS Score
1.3%
Top 32% exploitable
Prevalence
Medium
self-hosted PHP ecommerce platform, common but niche vs mainstream carts
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Exploit-DB GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 1.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +24
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2013-1465 CRITICAL POC
9.8 Feb 08

The Cubecart::_basket method in classes/cubecart.class.php in CubeCart 5.0.0 through 5.2.0 allows remote attackers to un

CVE-2024-34832 CRITICAL POC
9.8 Jun 06

Directory Traversal vulnerability in CubeCart v.6.5.5 and before allows an attacker to execute arbitrary code via a craf

CVE-2012-0865 MEDIUM POC
5.8 Feb 21

Multiple open redirect vulnerabilities in CubeCart 3.0.20 and earlier allow remote attackers to redirect users to arbitr

CVE-2024-33438 HIGH POC
8.0 Apr 29

File Upload vulnerability in CubeCart before 6.5.5 allows an authenticated user to execute arbitrary code via a crafted

CVE-2014-2341 MEDIUM POC
6.8 Apr 22

Session fixation vulnerability in CubeCart before 5.2.9 allows remote attackers to hijack web sessions via the PHPSESSID

CVE-2026-54647 HIGH POC
7.2 Sep 17

Authenticated SQL injection in CubeCart before 6.7.5 allows an administrator with access to the admin settings page to m

CVE-2015-6928 MEDIUM POC
6.8 Sep 28

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

CVE-2025-59413 MEDIUM POC
6.5 Sep 22

CubeCart is an ecommerce software solution. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable

CVE-2026-54644 MEDIUM POC
6.1 Sep 17

Reflected cross-site scripting in CubeCart versions prior to 6.7.5 allows unauthenticated remote attackers to execute Ja

CVE-2026-44376 MEDIUM POC
6.1 May 13

Reflected XSS in CubeCart v6 (prior to 6.7.0) enables unauthenticated remote attackers to execute arbitrary JavaScript i

CVE-2025-59411 MEDIUM POC
5.4 Sep 22

CubeCart is an ecommerce software solution. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable

CVE-2025-59412 MEDIUM POC
5.4 Sep 22

CubeCart is an ecommerce software solution. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy