Skip to main content

Pharmacy Sales and Inventory System EUVDEUVD-2026-26264

| CVE-2026-7392 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
    Obtain low-privilege application credentials
  2. Delivery
    Authenticate to Pharmacy Sales and Inventory System
  3. Exploit
    Craft HTTP request to /ajax.php?action=delete_supplier
  4. Execution
    Inject SQL payload into `id` parameter
  5. Persist
    Backend executes malicious SQL query
  6. Impact
    Exfiltrate or corrupt 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

Exploitation requires a valid low-privilege authenticated session in the Pharmacy Sales and Inventory System 1.0 application, confirmed by the CVSS 4.0 PR:L metric. The attacker must be able to reach the /ajax.php endpoint over the network (AV:N), which in typical deployments is an internal intranet or internet-facing web server. The specific attack surface is the id parameter passed to the delete_supplier action - no special non-default configuration is required beyond having the application running and a user account. Key limiting factors: the PR:L authentication requirement prevents unauthenticated external exploitation; SSVC marks the attack 'not automatable,' meaning session establishment overhead blocks trivial mass-scanning campaigns; and the niche deployment footprint reduces the total addressable target pool significantly. No user interaction from a victim is required (UI:N) once the attacker holds a session.

Impact

Real-world risk is low despite the public POC. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms network accessibility with no attack complexity, but the PR:L requirement creates a meaningful barrier - unauthenticated external attackers cannot exploit this directly. Impact metrics (VC:L/VI:L/VA:L/SC:N/SI:N/SA:N) indicate partial and contained database-level damage with no scope change to other systems. EPSS at 0.03% (8th percentile) places this well below typical exploitation thresholds, and SSVC's 'not automatable' flag further reduces mass-exploitation risk. The vulnerability is not in CISA KEV. The POC's existence elevates theoretical risk modestly but does not change the operational picture: this is a niche PHP script with limited enterprise deployment, and exploitation requires a valid low-privilege session. For any deployment storing patient or supplier records, remediation is still warranted given data sensitivity, but this should not displace higher-priority work.

Exploit ScenarioDerived

A low-privilege authenticated pharmacy system user - such as a staff member with standard login credentials - submits a crafted HTTP POST or GET request to /ajax.php?action=delete_supplier with an id value containing SQL injection syntax (e.g., 1 UNION SELECT username,password,3 FROM users--). The application executes the malformed query against the backend database, returning or modifying records beyond the intended deletion scope. A public POC demonstrating this technique is accessible at https://github.com/microwaveabi/vul/issues/2.

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 enables low-privilege authenticated attackers to manipulate backend database queries via the unsanitized id parameter in the delete_supplier function at /ajax.php?action=delete_supplier. Exploitation yields partial confidentiality, integrity, and availability impact against the application database, consistent with the CVSS 4.0 VC:L/VI:L/VA:L scope. A public proof-of-concept is available on GitHub, though EPSS at 0.03% (8th percentile) and SSVC's 'not automatable' designation indicate negligible real-world exploitation pressure at this time; no CISA KEV listing exists.

RemediationAI

No vendor-released patch has been identified for Pharmacy Sales and Inventory System 1.0 at time of analysis; the fix status should be tracked at https://vuldb.com/vuln/360117 and the SourceCodester product page at https://www.sourcecodester.com/. As an immediate compensating control, restrict access to the /ajax.php endpoint to authenticated, role-appropriate users only and validate that session controls prevent horizontal privilege escalation to the delete_supplier action. Deploying a web application firewall rule to reject SQL metacharacters (single quotes, UNION, comment sequences) in the id parameter is effective but carries a false-positive risk on malformed legitimate numeric IDs if not tuned to an integer allowlist. The most conservative interim measure is to disable or remove the supplier deletion feature from the application until a patched version is available, accepting the trade-off of reduced administrative functionality. Source-code remediation involves replacing direct SQL string concatenation with PDO prepared statements targeting the affected function in /ajax.php.

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 affected application is a PHP-based pharmacy management web application distributed by SourceCodester (cpe:2.3:a:sourcecodester:pharmacy_sales_and_inventory_system:*:*:*:*:*:*:*:*), with version 1.0 as the sole confirmed affected release. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the delete_supplier function in /ajax.php interpolates the HTTP-supplied id parameter directly into a SQL DELETE statement without parameterized queries or input sanitization. This allows an attacker to inject arbitrary SQL syntax, potentially expanding the query to read, modify, or delete records across the database beyond the intended single-supplier deletion. The PHP tag confirms server-side scripting in the application stack; no framework-level ORM or query abstraction appears to be in use for this endpoint.

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 SQL injection requires low-privilege auth (PR:L); partial C/I/A impact scoped entirely to the application database with no privilege escalation or 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:45 nvd
LOW 2.1

DescriptionCVE.org

A vulnerability has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. This impacts the function delete_supplier of the file /ajax.php?action=delete_supplier. Such manipulation of the argument ID leads to sql injection. The attack can be executed remotely. The exploit has been disclosed to the public and may be used.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Rare
niche open-source PHP script, negligible enterprise footprint
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