Skip to main content

SourceCodester Pharmacy Sales and Inventory System EUVDEUVD-2026-26056

| CVE-2026-7282 LOW
SQL Injection (CWE-89)
2026-04-28 VulDB
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Recon
    Obtain high-privilege credentials
  2. Delivery
    Authenticate to application
  3. Exploit
    Craft SQL injection payload in ID parameter
  4. Install
    Submit request to /ajax.php?action=delete_expired
  5. C2
    Trigger vulnerable delete_expired function
  6. Execute
    Execute arbitrary SQL query
  7. Impact
    Extract or modify sensitive data

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 HIGH-PRIVILEGE authentication - an attacker must first obtain or possess valid credentials for an administrative or staff account in the Pharmacy Sales and Inventory System. The delete_expired AJAX endpoint must be accessible via HTTP requests (typically enabled by default in web applications). The ID parameter must be passed without parameterized query protection in the backend code. No special non-default configuration or specific feature enablement is required beyond standard deployment; the vulnerability exists in the default code path when the delete_expired action is invoked.

Impact

This vulnerability presents moderate real-world risk with several mitigating and aggravating factors. The CVSS score of 4.7 reflects a network-accessible vulnerability with low attack complexity but requiring high-privilege authentication (PR:H), limiting the attacker pool to administrative or staff users. The CVSS vector indicates low confidentiality, integrity, and availability impact (C:L/I:L/A:L), suggesting partial data exposure or modification rather than complete system compromise. The Environmental modifier (E:P) indicates a publicly available proof of concept, increasing likelihood of exploitation by lower-skilled threat actors. However, the requirement for high-privilege credentials significantly reduces the risk profile compared to unauthenticated SQL injection vulnerabilities. The low-moderate CVSS score does not reflect the potential sensitivity of pharmacy data (patient records, medication information), which may warrant elevation in risk prioritization despite the authentication requirement. No CISA KEV listing was provided, and no active widespread exploitation has been reported beyond POC publication. The conflicting signals between network attack vector and high-privilege requirement suggest this is primarily a privilege-escalation or data-extraction risk for internal adversaries rather than a direct attack vector for external threat actors.

Exploit ScenarioDerived

An authenticated administrator or staff member with high privileges crafts a malicious request to /ajax.php?action=delete_expired with a SQL injection payload in the ID parameter (e.g., ID=1 OR 1=1, or a UNION-based query). The vulnerable code concatenates this unsanitized input directly into a SQL query, allowing the attacker to extract sensitive pharmacy data (patient information, medication records), modify database contents, or potentially delete critical records.

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 – Apr 28, 2026

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows authenticated high-privilege attackers to manipulate the ID parameter in the delete_expired function via /ajax.php?action=delete_expired, enabling remote database query manipulation with confidentiality, integrity, and availability impact. Publicly available exploit code exists and the vulnerability has been documented by VulDB.

RemediationAI

Upgrade to a patched version of SourceCodester Pharmacy Sales and Inventory System if available from the vendor at https://www.sourcecodester.com/. If no official patch is available, implement parameterized queries (prepared statements) in the delete_expired function to prevent SQL injection - specifically, ensure all database interactions use parameterized query syntax rather than string concatenation. As an immediate compensating control, restrict access to /ajax.php to users with administrative roles only through firewall rules or application-level access controls, and implement input validation on the ID parameter to accept only expected numeric formats (e.g., regular expression matching only digits). Monitor database activity for unexpected DELETE or SELECT queries originating from the web application. These controls reduce exploitability but do not eliminate the underlying code vulnerability.

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's AJAX endpoint that processes requests to delete expired records. The delete_expired function fails to properly sanitize or parameterize the ID argument before incorporating it into SQL queries, resulting in a classic SQL injection vulnerability (CWE-89). The attack vector is network-accessible via HTTP GET or POST requests to the /ajax.php endpoint. The vulnerability affects the SourceCodester Pharmacy Sales and Inventory System, a PHP application commonly deployed in healthcare and retail pharmacy environments.

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.0 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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
High
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

5
Severity Changed
Apr 29, 2026 - 01:12 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:12 NVD
5.1 (MEDIUM) 2.0 (LOW)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
CVSS changed
Apr 28, 2026 - 15:22 NVD
4.7 (MEDIUM) 5.1 (MEDIUM)
CVE Published
Apr 28, 2026 - 13:30 nvd
LOW 2.0

DescriptionCVE.org

A vulnerability was identified in SourceCodester Pharmacy Sales and Inventory System 1.0. This affects the function delete_expired of the file /ajax.php?action=delete_expired. The manipulation of the argument ID leads to sql injection. It is possible to initiate the attack remotely. The exploit is publicly available and might be used.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% 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 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