Lucene search
+L

CubeCart 6.7.4 - Stored XSS

🗓️ 31 Aug 2026 00:00:00Reported by Mikail KOCADAĞType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 6 Views

Stored XSS in CubeCart 6.7.4 where product descriptions bypass global input sanitization.

Related
Code
ReporterTitlePublishedViews
Family
packetstorm
Packet Storm
CubeCart 6.7.4 Cross Site Scripting
31 Aug 202600:00
packetstorm
# Exploit Title: CubeCart 6.7.4 - Stored Cross-Site Scripting
# Date: 2026-06-08
# Exploit Author: Mikail Kocadağ (MKLKCDG)
# Vendor Homepage: https://www.cubecart.com/
# Software Link: https://github.com/cubecart/v6
# Vulnerable Version: 6.7.4
# Fixed Version: 6.7.5
# CVE: CVE-2026-54645
# Advisory / References:
https://github.com/cubecart/v6/security/advisories/GHSA-43f6-gfcf-wj9c

--------------------------------------------------------------------------------
VULNERABILITY SUMMARY
--------------------------------------------------------------------------------
A Stored Cross-Site Scripting (XSS) vulnerability exists in the product
management panel of CubeCart 6.7.4, where product descriptions bypass
global input
filters and sanitization controls.

In `admin/sources/products.index.inc.php` (lines 55-59), the application
explicitly
bypasses the global sanitizer mechanism by retrieving content directly from
`$GLOBALS['RAW']['POST']`. The only defense applied is a basic regex filter
against
`<script>` tags, which fails to block alternative XSS vectors like event
handlers
or SVG elements.

--------------------------------------------------------------------------------
IMPACT
--------------------------------------------------------------------------------
An attacker with product editing permissions can inject persistent
malicious JavaScript.
When clients or other administrators view the affected product page on
either the
public storefront or the administration panel, the payload executes within
their
active session.

--------------------------------------------------------------------------------
PROOF OF CONCEPT (PoC)
--------------------------------------------------------------------------------
1. Log into the administration panel and navigate to Product Management.
2. Edit or create a product, and inject a payload using an HTML event
handler into the product description:

   <img src=x onerror=alert(document.domain)>

3. Save the product.
4. Visit the product page on the public storefront or view it within the
admin panel to trigger execution.

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

31 Aug 2026 00:00Current
5.9Medium risk
Vulners AI Score5.9
6