Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-6187: SQL Injection in SourceCodester Pharmacy Sales and Inventory System

0
Medium
VulnerabilityCVE-2026-6187cvecve-2026-6187
Published: Mon Apr 13 2026 (04/13/2026, 15:30:13 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: 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. The issue arises from improper handling of the 'ID' parameter in the /ajax. php? action=chk_prod_availability endpoint, allowing remote attackers to inject SQL commands. Exploit code is publicly available, but no official patch or remediation guidance has been provided by the vendor as of the publication date.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/13/2026, 16:17:06 UTC

Technical Analysis

This vulnerability affects SourceCodester Pharmacy Sales and Inventory System 1.0. It involves SQL injection via manipulation of the 'ID' argument in the /ajax.php?action=chk_prod_availability file. The vulnerability allows an unauthenticated remote attacker to execute arbitrary SQL commands due to insufficient input validation. The CVSS 4.0 base score is 6.9, indicating medium severity with network attack vector, low complexity, no privileges or user interaction required, and limited impact on confidentiality, integrity, and availability. No official fix or patch has been disclosed, and the exploit is publicly available.

Potential Impact

Successful exploitation could allow an attacker to execute arbitrary SQL queries on the backend database, potentially leading to unauthorized data access or modification. The impact is limited to the confidentiality, integrity, and availability of the affected system's database. There is no indication of privilege escalation or system-level compromise from the provided data.

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 or web application firewall (WAF) rules to block malicious SQL injection attempts targeting the 'ID' parameter in the affected endpoint. Monitor for updates from SourceCodester regarding patches or official mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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/13/2026, 4:17:06 PM

Last updated: 4/13/2026, 5:15:56 PM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses