Sourcecodester · Sourcecodester Online Eyewear Shop · CVE-2025-2846
**Name of the Vulnerable Software and Affected Versions**
SourceCodester Online Eyewear Shop version 1.0
**Description**
A critical vulnerability was found in the function registration of the file /oews/classes/Users.php?f=registration of the component Registration. The manipulation of the `ID` argument leads to SQL injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
**Recommendations**
As a temporary workaround, consider disabling the registration function in the /oews/classes/Users.php?f=registration file until a patch is available.
Restrict access to the /oews/classes/Users.php?f=registration endpoint to minimize the risk of exploitation.
Avoid using the `ID` argument in the affected registration function until the issue is resolved.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.