Skip to main content

Pharmacy Sales and Inventory System EUVDEUVD-2026-26257

| CVE-2026-7391 LOW
SQL Injection (CWE-89)
2026-04-29 VulDB
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with low-privilege account
  2. Delivery
    Send crafted POST to /ajax.php?action=save_supplier
  3. Exploit
    Inject SQL payload into ID parameter
  4. Execution
    Execute arbitrary SQL against backend database
  5. Impact
    Exfiltrate 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 CVSS 4.0 vector (PR:L) confirms that exploitation requires a valid low-privilege account within the Pharmacy Sales and Inventory System - unauthenticated exploitation is not possible based on available data. The specific attack surface is the save_supplier action endpoint at /ajax.php, which must be network-reachable by the attacker. No non-default configuration is required beyond the application being deployed and accessible with at least one active authenticated user account. Exploitation is limited by: (1) the mandatory PR:L authentication barrier, (2) SSVC Automatable: No - indicating the attack cannot be trivially scripted at scale, (3) the extremely narrow real-world deployment footprint of this educational application, and (4) database impact constrained to the application's own schema rather than host-level access.

Impact

The CVSS 4.0 score of 2.1 is deliberately low, driven by PR:L (authentication required), limited VC:L/VI:L/VA:L impact metrics, and no scope change to subsequent systems. EPSS at 0.03% (8th percentile) independently corroborates low exploitation probability despite POC availability, likely reflecting the application's near-zero enterprise deployment footprint. SSVC classifies the flaw as Automatable: No and Technical Impact: Partial, further constraining prioritization. The POC published on GitHub is a real and distinct signal that lowers the bar for exploitation, but it does not equate to active exploitation - no CISA KEV listing exists. The primary risk is to organizations that have inadvertently deployed this student/demo codebase in internet-accessible environments, which would be an architectural concern independent of this specific CVE. For most enterprise security teams, this is low operational priority absent confirmed internal deployment.

Exploit ScenarioDerived

An authenticated low-privilege user with access to the supplier management feature sends a crafted HTTP POST request to /ajax.php?action=save_supplier with a SQL payload injected into the ID parameter, bypassing input validation and causing the backend database to execute attacker-controlled SQL commands. A publicly available POC on GitHub demonstrates this technique, enabling enumeration of database contents or unauthorized modification of supplier records within the application's database permission scope.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 – Jul 24, 2026

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 permits a low-privileged authenticated remote attacker to manipulate the ID parameter in the save_supplier function at /ajax.php?action=save_supplier, enabling arbitrary SQL command execution against the backend database. A publicly available proof-of-concept exploit has been published on GitHub, though EPSS probability is extremely low at 0.03% (8th percentile) and SSVC rates both automatability and technical impact as limited, reflecting the narrow real-world deployment footprint of this educational PHP application. No active exploitation has been confirmed by CISA KEV.

RemediationAI

No vendor-released patch has been identified at time of analysis. Because SourceCodester distributes editable PHP source code, remediation requires direct code modification: developers must refactor the save_supplier function in /ajax.php to use parameterized prepared statements (e.g., PDO with bound parameters) instead of raw string concatenation, and validate that the ID parameter accepts only expected integer values before any database interaction. Organizations running this application in any network-accessible capacity should immediately restrict endpoint access to authenticated, trusted internal users, and consider taking the application offline until the code is patched - the trade-off being service disruption versus continued exposure to an authenticated SQLi with a public POC. Reference the VulDB advisory at https://vuldb.com/vuln/360116 and the POC details at https://github.com/microwaveabi/vul/issues/3 to inform the targeted fix.

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 resides in the PHP-based SourceCodester Pharmacy Sales and Inventory System 1.0, a freely distributed educational web application available at sourcecodester.com targeted at students and developers learning PHP. The root cause is CWE-89 (Improper Neutralization of Special Elements Used in an SQL Command): the save_supplier function in /ajax.php incorporates the user-supplied ID argument directly into SQL query construction without parameterization or sanitization, allowing injection of arbitrary SQL syntax. The CPE identifier cpe:2.3:a:sourcecodester:pharmacy_sales_and_inventory_system:*:*:*:*:*:*:*:* covers the product; only version 1.0 is identified as affected per EUVD-2026-26257. The application connects to a relational SQL backend with permissions scoped to its own database, bounding the blast radius of any successful injection.

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 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.3 MEDIUM

Network-reachable endpoint requires low-privilege authentication (PR:L); limited C/I/A impact reflects application-scoped database access with no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
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

4
PoC Detected
Apr 29, 2026 - 21:16 vuln.today
Public exploit code
Severity Changed
Apr 29, 2026 - 17:22 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 17:22 NVD
6.3 (MEDIUM) 2.1 (LOW)
CVE Published
Apr 29, 2026 - 16:15 nvd
LOW 2.1

DescriptionCVE.org

A flaw has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. This affects the function save_supplier of the file /ajax.php?action=save_supplier. This manipulation of the argument ID causes sql injection. Remote exploitation of the attack is possible. The exploit has been published and may be used.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Rare
niche educational PHP demo app, negligible production deployment
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 LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
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-8083 MEDIUM POC
5.5 May 07

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

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

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