SQL Injection in Sourcecodester Pharmacy Sales And Inventory System
CVE-2026-6187
A vulnerability was detected in SourceCodester Pharmacy Sales and Inventory System 1.0. This issue affects some unknown processing of the file /ajax.php?action=chk_prod_availability. The manipulation of the argument ID results in sql injection. The attack may be performed from remote. The exploit is now public and may be used.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.004 (32.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 32.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.002
Affected products
- Sourcecodester Pharmacy Sales And Inventory System — versions 1.0
Weakness classification (CWE)
References
- vuldb.com/vuln/357109 (technical-description, vdb-entry)
- vuldb.com/vuln/357109/cti (signature, permissions-required)
- vuldb.com/submit/797375 (third-party-advisory)
- github.com/lingzezzz/lingze/issues/3 (issue-tracking, exploit)
- www.sourcecodester.com/ (product)
Frequently asked questions
- What is CVE-2026-6187?
- CVE-2026-6187 is a high-severity vulnerability in Sourcecodester Pharmacy Sales And Inventory System, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 7.3/10. Published 2026-04-13.
- How severe is CVE-2026-6187?
- High severity. CVSS v3 base score is 7.3 out of 10.