CVE-2026-6187: SQL Injection in SourceCodester Pharmacy Sales and Inventory System
CVE-2026-6187 is a medium severity SQL injection vulnerability in SourceCodester Pharmacy Sales and Inventory System version 1. 0. It arises from improper handling of the 'ID' parameter in the /ajax. php? action=chk_prod_availability endpoint, allowing remote attackers to inject SQL commands. The vulnerability is publicly known, but no official patch or remediation guidance has been provided by the vendor as of the publication date.
AI Analysis
Technical Summary
This vulnerability affects SourceCodester Pharmacy Sales and Inventory System 1.0. The issue is due to insufficient input validation or sanitization of the 'ID' argument in the /ajax.php?action=chk_prod_availability file, which leads to SQL injection. An attacker can remotely exploit this flaw by manipulating the 'ID' parameter to execute arbitrary SQL queries on the backend database. The CVSS 4.0 base score is 6.9, indicating a medium severity level with network attack vector, low complexity, no privileges or user interaction required, and limited confidentiality, integrity, and availability impacts. No official patch or vendor advisory is available, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary SQL commands on the backend database, potentially leading to unauthorized data access or modification. The impact is rated medium severity with limited confidentiality, integrity, and availability impacts as per the CVSS 4.0 vector. There is no indication of privilege escalation or requirement for user interaction, making remote exploitation feasible.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider implementing input validation and sanitization on the 'ID' parameter at the application or database level to mitigate SQL injection risks. Monitoring and restricting access to the vulnerable endpoint may also reduce exposure.
CVE-2026-6187: SQL Injection in SourceCodester Pharmacy Sales and Inventory System
Description
CVE-2026-6187 is a medium severity SQL injection vulnerability in SourceCodester Pharmacy Sales and Inventory System version 1. 0. It arises from improper handling of the 'ID' parameter in the /ajax. php? action=chk_prod_availability endpoint, allowing remote attackers to inject SQL commands. The vulnerability is publicly known, but no official patch or remediation guidance has been provided by the vendor as of the publication date.
CVSS v4.0
Score 6.9medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability affects SourceCodester Pharmacy Sales and Inventory System 1.0. The issue is due to insufficient input validation or sanitization of the 'ID' argument in the /ajax.php?action=chk_prod_availability file, which leads to SQL injection. An attacker can remotely exploit this flaw by manipulating the 'ID' parameter to execute arbitrary SQL queries on the backend database. The CVSS 4.0 base score is 6.9, indicating a medium severity level with network attack vector, low complexity, no privileges or user interaction required, and limited confidentiality, integrity, and availability impacts. No official patch or vendor advisory is available, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary SQL commands on the backend database, potentially leading to unauthorized data access or modification. The impact is rated medium severity with limited confidentiality, integrity, and availability impacts as per the CVSS 4.0 vector. There is no indication of privilege escalation or requirement for user interaction, making remote exploitation feasible.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider implementing input validation and sanitization on the 'ID' parameter at the application or database level to mitigate SQL injection risks. Monitoring and restricting access to the vulnerable endpoint may also reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-04-13T08:36:25.268Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69dd138382d89c981f0e28df
Added to database: 4/13/2026, 4:02:11 PM
Last enriched: 4/21/2026, 6:23:16 AM
Last updated: 5/28/2026, 2:40:40 PM
Views: 80
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.