6.9medium
SourceCodester Pharmacy Sales and Inventory System ajax.php sql injection
- Severity
- 6.9medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| SourceCodester Pharmacy Sales and Inventory System | 1.0 | CVE List |
All scores
| VulDB | 6.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 7.3high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
Classification
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad fue detectada en SourceCodester Pharmacy Sales and Inventory System 1.0. Este problema afecta algún procesamiento desconocido del archivo /ajax.PHP?action=chk_prod_availability. La manipulación del argumento ID resulta en inyección SQL. El ataque puede ser realizado desde remoto. El exploit es ahora público y puede ser usado.
References
| https://vuldb.com/vuln/357109 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/357109/cti | permissions-required, signature | |
| https://vuldb.com/submit/797375 | third-party-advisory | |
| https://github.com/lingzezzz/lingze/issues/3 | exploit, issue-tracking | |
| https://www.sourcecodester.com/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-6187 changed 2026-04-14 | CVE Terms of Use |
| NVD | CVE-2026-6187 changed 2026-10-26 | Public domain |