Skip to main content

CubeCart EUVDEUVD-2026-82529

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

Attack ChainAIDerived

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

  1. Access
    Craft search/input with javascript: anchor
  2. Delivery
    Payload stored in GUI error message
  3. Exploit
    Victim views or clicks rendered anchor
  4. Execution
    JavaScript runs in victim session
  5. Impact
    Steal session or perform unauthorized 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

Exploitation requires that attacker-controlled data (e.g. search terms or other input) reaches a GUI error, information, or warning message rendered by _errorMessage() in classes/gui.class.php on any CubeCart instance prior to 6.7.5 - the default behavior, no non-standard configuration needed. The limiting factor is user interaction (UI:R): a victim must view the page containing the injected anchor or click it (for javascript: href variants), and the executed script is confined to that victim's browser session. Impact is greatest when the viewer is an authenticated admin/staff member, but any authenticated shopper session can be abused. No attacker authentication is required (PR:N).

Impact

Signals are moderate and consistent. The vendor CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N = 6.1) describes a classic reflected/stored cross-site scripting flaw: network-reachable, low-complexity, no privileges, but requiring victim interaction (viewing or clicking the rendered anchor), with a scope change (script runs in the victim's browser context) and low confidentiality/integrity impact. A public exploit is available (Exploit-DB 52661), which raises practical risk above a theoretical XSS, but there is NO CISA KEV listing and NO EPSS score provided, so there is no evidence of active, widespread exploitation - POC availability and active exploitation are distinct signals. This is a genuine, patchable web-app bug worth prioritizing on CubeCart deployments (especially admin/staff who view attacker-influenced error messages), but it is not a critical drop-everything issue: impact is session/action hijack scoped to browser context, not server RCE. No conflicting signals were detected; the description (javascript: URI / onclick surviving strip_tags) fully corroborates the CWE-79 classification and the source-code diff confirms the root cause and fix.

Exploit ScenarioDerived

An attacker submits crafted search or input data containing an anchor with a javascript: href or onclick handler that CubeCart's _errorMessage() passes through strip_tags($text,'<a>') into an error, information, or warning banner. When a victim (shopper or admin) views the page or clicks the malicious link, JavaScript executes in their authenticated session, enabling session/cookie exposure or unauthorized in-app actions. A public proof-of-concept exists (Exploit-DB 52661), and exploitation only needs the victim to view/interact with the rendered message (UI:R).

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

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

Alert me

AnalysisAIv1 – Sep 17, 2026

Reflected cross-site scripting in CubeCart versions prior to 6.7.5 allows unauthenticated remote attackers to execute JavaScript in a victim's browser session by injecting data that reaches GUI error, information, or warning messages rendered by the _errorMessage() method in classes/gui.class.php. That method calls strip_tags($text, '<a>'), which keeps anchor tags while leaving their href values and event handlers intact, so a javascript: URI or an onclick attribute supplied through search fields or other input survives filtering and fires when the victim views or clicks the rendered link, exposing session data or triggering unauthorized application actions. Exploitation requires user interaction (the victim must view or click the crafted link) and affects any CubeCart instance running a release older than 6.7.5; publicly available exploit code exists (Exploit-DB 52661), and the vendor addressed the flaw in 6.7.5.

RemediationAI

Upgrade CubeCart to version 6.7.5 or later, which is the vendor-released patch that resolves this issue; the fix is contained in the upstream commit https://github.com/cubecart/v6/commit/7c4c0081fd346578a95738f480ef647116ee1c82 and documented in advisory GHSA-v55x-fh73-29vq and the 6.7.5 release notes at https://github.com/cubecart/v6/blob/6.7.5/admin/sources/release_notes/6.7.5.inc.php. If an immediate upgrade is not possible, backport the _sanitizeAnchors() helper and its two call sites from that commit into classes/gui.class.php so that only href attributes with http, https, mailto, or relative schemes are preserved and all event handlers are discarded - this is a targeted, low-risk change but it must be re-applied after any future upgrade or file overwrite. A temporary compensating control is to deploy a WAF rule that blocks requests containing javascript: or on\w+= attribute patterns in query parameters that are echoed back into GUI messages, accepting that obfuscation variants may bypass it and that legitimate rich content could be rejected. Because the root trigger is user-supplied input reaching the message renderer, administrators should also review any templates or custom modules that echo request data directly and escape it with htmlspecialchars(). Deploying a strict Content-Security-Policy without 'unsafe-inline' will neutralize inline event-handler payloads in modern browsers but will not stop javascript: navigation without additional directives and may break storefront themes that rely on inline scripts. Finally, limiting admin and staff panel access to trusted networks reduces the value of the highest-impact target, since the injected script executes with the viewer's privileges. Note that publicly available exploit code exists for this flaw, so treating unpatched storefronts as exposed is warranted.

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 is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) failure rooted in an incomplete sanitization primitive rather than in missing output encoding. The vulnerable code passes user-influenced message text through strip_tags() with an explicit '<a>' allowlist, a function that removes disallowed tags but performs no attribute-level filtering; any attributes retained on the permitted anchor - including href="javascript:..." and inline event handlers such as onclick - remain intact. The injected payload therefore becomes part of the server-generated HTML of an error, information, or warning banner, and the browser executes it in the origin of the storefront or admin panel. The upstream fix introduces a private _sanitizeAnchors() helper invoked after strip_tags(); it uses preg_replace_callback() to rebuild each anchor tag, decoding the href, stripping control/whitespace characters that could obfuscate a scheme, and permitting only http, https, mailto, and relative links while dropping every other attribute. The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N reflects network reachability with no attacker authentication, a user-interaction prerequisite, and a scope change (S:C) because scripts execute in the victim's session context rather than the attacker's, with limited confidentiality and integrity impact and no availability impact. No CPE identifiers were included in the supplied intelligence; the affected component is identified by the exact file path classes/gui.class.php in the CubeCart v6 codebase. The tags PHP and XSS confirm the technology stack and vulnerability class, and the authoritative independent assessment aligns with the NVD vector and with the commit diff showing the pre-fix strip_tags() behavior at lines surrounding 1796.

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 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Unauthenticated network-delivered XSS (PR:N/AV:N/AC:L) requiring victim view/click (UI:R); script executes in browser context (S:C) with low confidentiality/integrity impact and no availability effect.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
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 6.1

DescriptionCVE.org

CubeCart is an ecommerce software solution. Prior to 6.7.5, the _errorMessage method in classes/gui.class.php uses strip_tags to permit anchor elements in error, information, and warning messages while retaining unsafe href values and onclick event handlers. Attacker-controlled search or input data that reaches a GUI message can carry a javascript: URI or event handler through the filter, and viewing or interacting with the rendered anchor executes JavaScript in the victim's browser session, enabling session exposure or unauthorized application actions. This issue is fixed in version 6.7.5.

Threat Intelligence Overview

EPSS Score
1.1%
Top 37% exploitable
Prevalence
Medium
established open-source PHP ecommerce cart, moderate but not ubiquitous install base
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.1%
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

51
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +30
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-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

CVE-2021-33394 MEDIUM POC
5.4 May 27

Cubecart 6.4.2 allows Session Fixation. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, lo

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