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…
EPSS 0.0%top 87%

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

0
Medium
VulnerabilityCVE-2026-6188cvecve-2026-6188
Published: Mon Apr 13 2026 (04/13/2026, 15:45:10 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: Pharmacy Sales and Inventory System

Description

CVE-2026-6188 is a medium-severity SQL injection vulnerability in SourceCodester Pharmacy Sales and Inventory System version 1. 0. The flaw exists in the /ajax. php? action=delete_sales endpoint where manipulation of the ID parameter allows remote attackers to perform SQL injection. This vulnerability can be exploited without authentication or user interaction. No official patch or remediation guidance has been provided by the vendor at this time. The exploit code is publicly available, increasing the risk of exploitation.

CVSS v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/21/2026, 06:16:45 UTC

Technical Analysis

This vulnerability involves an SQL injection in the SourceCodester Pharmacy Sales and Inventory System 1.0, specifically in the /ajax.php?action=delete_sales function. By manipulating the ID argument, an attacker can inject malicious SQL commands remotely without any privileges or user interaction. The CVSS 4.0 base score is 6.9, indicating a medium severity level. No official fix or patch is currently documented, and the system is not cloud-hosted, so remediation depends on vendor or user action.

Potential Impact

Successful exploitation allows remote attackers to execute arbitrary SQL commands on the backend database, potentially leading to unauthorized data access, modification, or deletion. The vulnerability requires no authentication and no user interaction, increasing its risk. However, the impact is rated medium severity, reflecting some limitations in scope or exploitability. There are no known exploits observed in the wild yet.

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 parameterized queries as a temporary mitigation. Monitoring for unusual database activity may help detect exploitation attempts. No vendor advisory or official patch links are currently provided.

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:28.794Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69dd138382d89c981f0e28e6

Added to database: 4/13/2026, 4:02:11 PM

Last enriched: 4/21/2026, 6:16:45 AM

Last updated: 5/29/2026, 3:59:32 PM

Views: 74

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