Skip to main content
CVE-2025-6304VulnerabilityPublished Updated

CVE-2025-6304: code-projects Online Shoe Store · SQL Injection

Affects code-projects Online Shoe StoreSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
code-projects Online Shoe StoreAffected
  • =1.0
Fixed in–

AI-suggested

1. Immediate code review and input validation: Organizations should audit the /cart.php script to implement strict input validation and sanitization for the 'qty[]' parameter, using parameterized queries or prepared statements to prevent SQL injection. 2. Web Application Firewall (WAF): Deploy or update WAF rules to detect and block malicious payloads targeting the 'qty[]' parameter. Custom rules can be created to identify unusual patterns or SQL syntax in requests. 3. Network segmentation and access controls: Limit exposure of the e-commerce application to only necessary network segments and restrict access to trusted IP ranges where feasible. 4. Monitoring and logging: Enhance logging of web application requests and database queries to detect anomalous activities indicative of exploitation attempts. 5. Incident response preparedness: Develop and test incident response plans specific to web application attacks, including rapid isolation and forensic analysis. 6. Vendor engagement: Engage with code-projects to request official patches or updates and monitor for any forthcoming security advisories. 7. Temporary mitigation: If patching is not immediately possible, consider disabling or restricting the vulnerable functionality (e.g., quantity modification) until a secure fix is available. 8. Security awareness: Train developers and administrators on secure coding practices and the importance of input validation to prevent similar vulnerabilities.

Description

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.

References

Community reviews

Loading reviews…