Skip to main content
VulnerabilityPublished Updated

CVE-2025-4173: SourceCodester Online Eyewear Shop · SQL Injection

Affects SourceCodester Online Eyewear ShopSource CVE

0
Compare

Not known to be exploited · CVSS 5.3 Medium.

Data as of 23 Nov 2026, 21:14 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    Public on cve.org; its publication date is not in this record

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
SourceCodester Online Eyewear ShopAffected
  • =1.0
Fixed in–

AI-suggested

Apply vendor patches or updates as soon as they become available for the Online Eyewear Shop application to fix the SQL Injection vulnerability.

If patches are not yet available, implement web application firewall (WAF) rules specifically targeting SQL Injection patterns on the 'ID' parameter in the delete_cart function to block malicious payloads.

Conduct thorough input validation and parameterized queries or prepared statements in the application code to prevent injection attacks.

Restrict database user permissions to the minimum necessary, ensuring the application database user cannot perform destructive operations beyond its scope.

Perform regular security assessments and code reviews on custom or third-party e-commerce applications to identify and remediate injection flaws early.

Monitor application logs and database logs for unusual query patterns or repeated failed attempts targeting the delete_cart functionality.

Segment the e-commerce application servers from critical internal networks to limit lateral movement in case of compromise.

Educate developers and administrators on secure coding practices and the risks of SQL Injection vulnerabilities.

Description

A vulnerability classified as critical was found in SourceCodester Online Eyewear Shop 1.0. Affected by this vulnerability is the function delete_cart of the file /oews/classes/Master.php?f=delete_cart. The manipulation of the argument ID leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

Community reviews

Loading reviews…