# CVE-2026-30575: A Business Logic vulnerability exists in SourceCodester Pharmacy Product Management System 1.0 in the add-stock.php file.

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-27T00:00:00.000Z
- Modified: 2026-11-11T19:10:00.360Z
- Weaknesses: CWE-20, CWE-1284
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- senior-walter web-based_pharmacy_product_management_system: 1.0

## References

- <https://github.com/meifukun/Web-Security-PoCs/blob/main/Pharmacy-Product-Management-System/Logic-AddStock-NegativeQty.md> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-30575](https://www.cve.org/CVERecord?id=CVE-2026-30575), CVE Terms of Use, modified 2026-03-27
- NVD: [CVE-2026-30575](https://nvd.nist.gov/vuln/detail/CVE-2026-30575), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-30575 · Whole record: https://cve.day/CVE-2026-30575.json · Rebuilt by cve.day 2026-11-25T22:59:17.407Z
