CVE-2026-30575

A Business Logic vulnerability exists in SourceCodester Pharmacy Product Management System 1.0 in the add-stock.php file. The application fails to validate the "txtqty" parameter during stock entry, allowing negative values to be processed. This causes the system to decrease the inventory level instead of increasing it, leading to inventory corruption and potential Denial of Service by depleting stock records.

Score
CVSS 3.1 7.5 High
Status
Analyzed - cve@mitre.org
Published
2026-03-27
Last modified
2026-03-27
Weaknesses
CWE-1284, CWE-20

Affected products

References