Sourcecodester · Pharmacy Sales/Inventory System · CVE-2026-7128
**Name of the Vulnerable Software and Affected Versions**
SourceCodester Pharmacy Sales and Inventory System version 1.0
**Description**
An issue exists where improper processing of the '/ajax.php?action=save type' endpoint allows for remote SQL injection. This occurs through the manipulation of the `ID` argument. SQL injection is a technique where malicious SQL statements are inserted into entry fields for execution, potentially allowing unauthorized access to or modification of the database.
**Recommendations**
Update SourceCodester Pharmacy Sales and Inventory System to a version newer than 1.0.
As a temporary workaround, restrict access to the '/ajax.php?action=save type' endpoint or avoid using the `ID` parameter until a patch is applied.