Skip to main content

SourceCodester Pharmacy System EUVDEUVD-2026-28416

| CVE-2026-8083 MEDIUM
SQL Injection (CWE-89)
2026-05-07 VulDB GHSA-mv88-fcpc-wrmw
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send HTTP request to /ajax.php
  2. Exploit
    Inject SQL payload in ID parameter
  3. Execution
    Execute arbitrary SQL query
  4. Impact
    Exfiltrate user/patient data or modify database records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability requires network access to the /ajax.php endpoint on a SourceCodester Pharmacy Sales and Inventory System 1.0 instance. The save_user action must be accessible without authentication or the attacker must have valid session credentials to trigger the vulnerable code path; the CVSS vector PR:N indicates no prior authentication is required. SQL injection succeeds if the application does not use parameterized queries or input escaping on the ID parameter. No special application configuration is required - the vulnerability exists in the default installation.

Impact

The CVSS 4.0 vector AV:N/AC:L/PR:N/UI:N indicates network-accessible unauthenticated remote exploitation with no user interaction required - a strong attack surface. However, the impact scores (VC:L/VI:L/VA:L) suggest limited confidentiality, integrity, and availability impact, reflected in the 5.5 base score. The presence of publicly available exploit code (POC status: 'Publicly available') increases practical risk beyond the CVSS score alone. No EPSS score or CISA KEV status is provided, so likelihood of mass exploitation cannot be definitively assessed, but public POC availability suggests higher real-world exploitation risk than the moderate CVSS alone indicates. The vulnerability is in a niche open-source pharmacy management system, not a broadly deployed platform, limiting scope of affected organizations. Prioritization should weigh public exploitability against the narrow target audience.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted HTTP GET or POST request to /ajax.php?action=save_user with a malicious SQL payload in the ID parameter, such as ID=1' OR '1'='1 or ID=1; DROP TABLE users; --, exploiting the lack of input sanitization to extract sensitive database records, modify data, or corrupt the pharmacy system's data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execute arbitrary SQL queries via the ID parameter in /ajax.php?action=save_user. The vulnerability has a publicly available exploit and CVSS 5.5 score reflecting limited confidentiality, integrity, and availability impact on the vulnerable component.

RemediationAI

The primary remediation is to upgrade to a patched version if available from SourceCodester; however, no specific patched version is documented in the provided references. Immediate compensating controls include: (1) disable or remove the /ajax.php?action=save_user endpoint if not in active use, (2) implement input validation and parameterized SQL queries (prepared statements) to prevent SQL injection in the save_user function, (3) apply Web Application Firewall (WAF) rules to block SQL injection patterns in the ID parameter such as single quotes, SQL keywords (UNION, SELECT, DROP), and comment sequences (-- , /*), and (4) restrict network access to /ajax.php to trusted internal networks only if the endpoint is used solely by internal administrators. Contact SourceCodester at sourcecodester.com for patch availability and timeline.

Affected VersionsENISA

Pharmacy Sales and Inventory System 1.0

Affected Packages

euvd pharmacy_sales_and_inventory_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in a PHP-based web application at the endpoint /ajax.php?action=save_user, where user-supplied input in the ID parameter is directly incorporated into SQL queries without proper sanitization or parameterized query preparation. CWE-89 (SQL Injection) is the root cause, indicating the application fails to escape or bind SQL query inputs. The CPE string cpe:2.3:a:sourcecodester:pharmacy_sales_and_inventory_system:*:*:*:*:*:*:*:* confirms this affects the Pharmacy Sales and Inventory System product line across versions, though version 1.0 is explicitly mentioned in the description.

Know when Pharmacy Sales And Inventory System gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
May 07, 2026 - 19:22 NVD
HIGH MEDIUM
CVSS changed
May 07, 2026 - 19:22 NVD
7.3 (HIGH) 5.5 (MEDIUM)
CVE Published
May 07, 2026 - 18:15 nvd
MEDIUM 5.5

DescriptionCVE.org

A vulnerability was found in SourceCodester Pharmacy Sales and Inventory System 1.0. This affects an unknown part of the file /ajax.php?action=save_user. The manipulation of the argument ID results in sql injection. The attack can be executed remotely. The exploit has been made public and could be used.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2022-30407 CRITICAL POC
9.8 May 13

Pharmacy Sales And Inventory System v1.0 is vulnerable to SQL Injection via /pharmacy-sales-and-inventory-system/manage_

CVE-2026-10255 MEDIUM POC
5.5 Jun 01

Unauthenticated remote information disclosure in SourceCodester Pharmacy Sales and Inventory System 1.0 allows network-b

CVE-2026-7550 MEDIUM POC
5.5 May 01

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to read,

CVE-2026-7549 MEDIUM POC
5.5 May 01

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to extra

CVE-2026-7199 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7194 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 exposes the `/ajax.php?action=save_product` endp

CVE-2026-7127 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to read,

CVE-2026-7126 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7088 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7087 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to extra

CVE-2026-6189 MEDIUM POC
5.5 Apr 13

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows unauthenticated remote attackers to extra

CVE-2026-6188 MEDIUM POC
5.5 Apr 13

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows unauthenticated remote attackers to execu

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy