Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | This vulnerability presents HIGH real-world risk despite the CVSS 7.3 score (Medium-High) appearing moderate. Key risk signals: (1) CVSS vector AV:N/AC:L/PR:N/UI:N indicates network-exploitable, low-complexity attack requiring no privileges or user interaction—maximum accessibility; (2) Public disclosure with confirmed POC availability dramatically increases exploitation likelihood; (3) SQL injection on cart functionality has automatable technical impact (data exfiltration, database manipulation, potential code execution); (4) The application tier (e-commerce) processes payment and customer data, elevating confidentiality and integrity impact. CVSS 7.3 reflects limited scope (S:U) but undervalues the practical severity given public POC availability. Using SSVC framework: Exploitation=Active/Public, Automatable=Yes, Technical Impact=High (database compromise). This should be treated as CRITICAL priority for any operational instances. The gap between CVSS score and real-world urgency is notable—this is actively exploitable and likely targeted. |
| Exploit ScenarioDerived | An unauthenticated attacker identifies an exposed Online Shoe Store 1.0 instance via passive reconnaissance. The attacker crafts a malicious HTTP request to the shopping cart endpoint with injected SQL in the qty[] parameter, for example: /cart.php?qty[]=1 UNION SELECT user(),version(),database()--. Due to AV:N/AC:L (network-accessible, low complexity), the attack requires only HTTP requests—no specialized tools or timing. The injected SQL executes in the database context, allowing the attacker to: extract customer personal/payment data, enumerate database structure, potentially modify product prices or order records, or pivot to backend server compromise. A publicly available POC automates this exploitation, enabling widespread scanning and automated attacks against vulnerable instances. In a realistic scenario: (1) Attacker scripts automated discovery of /cart.php endpoints; (2) POC injects time-based or UNION-based SQL payloads; (3) Database credentials or sensitive records are exfiltrated; (4) Customer payment card data or PII is harvested for fraud/sale on dark markets. The lack of rate limiting or authentication creates ideal conditions for bulk data extraction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
CVE-2025-6304 is a critical SQL injection vulnerability in code-projects Online Shoe Store 1.0 affecting the /cart.php file's qty[] parameter, allowing unauthenticated remote attackers to execute arbitrary SQL queries and potentially extract, modify, or delete sensitive data. The vulnerability has been publicly disclosed with proof-of-concept exploits available, presenting immediate exploitation risk to unpatched instances of this e-commerce application.
RemediationAI
Immediate actions: (1) Apply input validation to qty[] parameters—use whitelist approach accepting only numeric values, rejecting special characters; (2) Implement parameterized queries/prepared statements for all database interactions in cart.php, replacing string concatenation with bound parameters; (3) If patches are unavailable from vendor (code-projects appears to lack active support), implement Web Application Firewall (WAF) rules blocking SQL injection patterns in cart requests; (4) Disable or isolate the Online Shoe Store application if not actively maintained and migrate to a supported e-commerce platform (WooCommerce, Magento, Shopify, etc.); (5) Conduct immediate database audit for unauthorized access or data exfiltration via this vector; (6) Apply principle of least privilege to database user account used by cart.php (remove administrative rights). Long-term: Migrate away from unsupported code-projects application to a actively maintained e-commerce solution.
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
The vulnerability exists in the cart.php file of the Online Shoe Store application, where user-supplied input from the qty[] (quantity array) parameter is improperly sanitized before being incorporated into SQL queries. This represents a classic CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - 'Injection') vulnerability, specifically SQL injection. The lack of parameterized queries or input validation on array-based parameters allows attackers to inject malicious SQL syntax through the quantity field, potentially bypassing authentication and authorization controls. The affected product is code-projects Online Shoe Store version 1.0, a PHP-based e-commerce application that appears to use a traditional relational database backend without proper prepared statement implementation.
Know when Online Shoe Store 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was found in code-projects Online Shoe Store 1.0 and classified as critical. Affected by this issue is some unknown functionality of the file /cart.php. The manipulation of the argument qty[] leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
A SQL injection vulnerability in the Online Shoe Store application's shopping cart function exposes customer data and enables unauthorized database access. With a public exploit available and no patch currently available, immediate action is required to protect customer information and prevent potential data breaches or system compromise.
Deploy WAF rules to filter SQL injection patterns in qty[] parameters; implement strict input validation and parameterized queries in /cart.php; segment the e-commerce application on isolated network; disable cart functionality temporarily if feasible; enforce principle of least privilege on database user accounts; enable enhanced logging and monitoring on database queries for anomaly detection.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Online Shoe Store
View allCVE-2025-6354 is a critical SQL injection vulnerability in code-projects Online Shoe Store 1.0 affecting the customer si
CVE-2025-6344 is a critical SQL injection vulnerability in code-projects Online Shoe Store version 1.0, specifically in
CVE-2025-6343 is a critical SQL injection vulnerability in code-projects Online Shoe Store version 1.0, specifically in
CVE-2025-6342 is a critical SQL injection vulnerability in code-projects Online Shoe Store 1.0, specifically in the /adm
CVE-2025-6317 is a critical SQL injection vulnerability in code-projects Online Shoe Store version 1.0, affecting the /a
CVE-2025-6316 is a critical SQL injection vulnerability in code-projects Online Shoe Store version 1.0, specifically in
CVE-2025-6315 is a critical SQL injection vulnerability in code-projects Online Shoe Store version 1.0, affecting the /c
CVE-2025-6307 is a critical SQL injection vulnerability in code-projects Online Shoe Store 1.0 affecting the /function/e
CVE-2025-6306 is a critical SQL injection vulnerability in code-projects Online Shoe Store version 1.0, affecting the ad
CVE-2025-6305 is a critical SQL injection vulnerability in code-projects Online Shoe Store 1.0 affecting the /admin/admi
CVE-2025-6303 is a critical SQL injection vulnerability in code-projects Online Shoe Store version 1.0, specifically in
Stored cross-site scripting (XSS) in code-projects Online Shoe Store 1.0 allows authenticated administrators to inject m
EUVD-2025-18718
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB