CVE-2026-6187
JSON

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 packageVersionsReported by
SourceCodester Pharmacy Sales and Inventory System1.0CVE List

All scores

VulDB6.9medium CVSS:4.0CVSS: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
VulDB7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB7.3high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
VulDB7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR

Classification

CWE-74CWE-89

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

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/357109technical-description, vdb-entry
https://vuldb.com/vuln/357109/ctipermissions-required, signature
https://vuldb.com/submit/797375third-party-advisory
https://github.com/lingzezzz/lingze/issues/3exploit, issue-tracking
https://www.sourcecodester.com/product

Sources

SourceRecordLicence
CVE ListCVE-2026-6187 changed 2026-04-14CVE Terms of Use
NVDCVE-2026-6187 changed 2026-10-26Public domain