Sourcecodester · Sourcecodester Online Eyewear Shop · CVE-2025-4173
**Name of the Vulnerable Software and Affected Versions**
SourceCodester Online Eyewear Shop version 1.0
**Description**
A critical vulnerability was found in 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.
**Recommendations**
As a temporary workaround, consider disabling the `delete cart` function until a patch is available. Restrict access to the `/oews/classes/Master.php?f=delete cart` endpoint to minimize the risk of exploitation. Avoid using the `ID` argument in the affected endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.