CVE Explorer
CVE-2026-30576
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 "txtprice" and "txttotalcost" parameters during stock entry, allowing negative financial values to be submitted. This leads to corruption of financial records, allowing attackers to manipulate inventory asset values and procurement costs.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:16c5a86151560762f16b022e05c82623f3258edcc27874f7e057601db2a54d03 · sha256:647037a98c6faa66… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:16c5a86151560762f16b022e05c82623f3258edcc27874f7e057601db2a54d03 · sha256:647037a98c6faa66… · /containers/adp/0/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:16c5a86151560762f16b022e05c82623f3258edcc27874f7e057601db2a54d03 · sha256:647037a98c6faa66… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:16c5a86151560762f16b022e05c82623f3258edcc27874f7e057601db2a54d03 · sha256:647037a98c6faa66… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:16c5a86151560762f16b022e05c82623f3258edcc27874f7e057601db2a54d03 · sha256:647037a98c6faa66… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-20","description":"CWE-20 Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:16c5a86151560762f16b022e05c82623f3258edcc27874f7e057601db2a54d03 · sha256:647037a98c6faa66… · /containers/adp/0/problemTypes/0/descriptions/0
Source references
1 source assertion{"url":"https://github.com/meifukun/Web-Security-PoCs/blob/main/Pharmacy-Product-Management-System/Logic-AddStock-NegativePrice.md"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:16c5a86151560762f16b022e05c82623f3258edcc27874f7e057601db2a54d03 · sha256:647037a98c6faa66… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.