CVE-2026-6187 | SourceCodester Pharmacy Sales and Inventory System 1.0 ajax.php?action=chk_prod_availability ID sql injection
VulDBArchived Apr 13, 2026✓ Full text saved
A vulnerability labeled as critical has been found 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. This vulnerability was named CVE-2026-6187 . The attack may be performed from remote. In addition, an exploit is available.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-357109 · CVE-2026-6187 · SUBMIT #357109
SOURCECODESTER PHARMACY SALES AND INVENTORY SYSTEM 1.0 AJAX.PHP?ACTION=CHK_PROD_AVAILABILITY ID SQL INJECTION
HISTORYDIFFRELATEJSONXMLCTI
Summaryinfo
A vulnerability marked as critical has been reported in SourceCodester Pharmacy Sales and Inventory System 1.0. Impacted is an unknown function of the file /ajax.php?action=chk_prod_availability. This manipulation of the argument ID causes sql injection. The identification of this vulnerability is CVE-2026-6187. It is possible to initiate the attack remotely. Furthermore, there is an exploit available.
Detailsinfo
A vulnerability was found in SourceCodester Pharmacy Sales and Inventory System 1.0. It has been declared as critical. Affected by this vulnerability is an unknown code of the file /ajax.php?action=chk_prod_availability. The manipulation of the argument id with an unknown input leads to a sql injection vulnerability. The CWE definition for the vulnerability is CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability.
The advisory is shared at github.com. This vulnerability is known as CVE-2026-6187. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known. MITRE ATT&CK project uses the attack technique T1505 for this issue.
It is possible to download the exploit at github.com. It is declared as proof-of-concept.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
Productinfo
Vendor
SourceCodester
Name
Pharmacy Sales and Inventory System
Version
1.0
License
free
Website
Vendor: https://www.sourcecodester.com/
CPE 2.3info
🔒
CPE 2.2info
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Sql injection
CWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: no mitigation known
Status: 🔍
0-Day Time: 🔒
Timelineinfo
04/13/2026 Advisory disclosed
04/13/2026 +0 days VulDB entry created
04/13/2026 +0 days VulDB entry last update
Sourcesinfo
Vendor: sourcecodester.com
Advisory: github.com
Status: Not defined
CVE: CVE-2026-6187 (🔒)
GCVE (CVE): GCVE-0-2026-6187
GCVE (VulDB): GCVE-100-357109
scip Labs: https://www.scip.ch/en/?labs.20161013
Entryinfo
Created: 04/13/2026 10:41
Changes: 04/13/2026 10:41 (56)
Complete: 🔍
Submitter: lingzezzz
Cache ID: 99:289:101
Submitinfo
Accepted
Submit #797375: sourcecodester Pharmacy Sales and Inventory System V1.0 SQL injection (by lingzezzz)
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸