Skip to main content

Pharmacy Sales and Inventory System CVE-2026-7088

| EUVDEUVD-2026-25772 MEDIUM
SQL Injection (CWE-89)
2026-04-27 VulDB
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Identify exposed /ajax.php endpoint
  2. Delivery
    Craft SQL injection payload in ID parameter
  3. Exploit
    Submit malicious request to save_receiving action
  4. Execution
    Execute arbitrary SQL commands
  5. Impact
    Extract/modify database contents

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

Remote exploitation requires the target installation to expose /ajax.php endpoint to network access (confirmed by CVSS AV:N) and implement the 'save_receiving' action handler-a standard feature in Pharmacy Sales and Inventory System 1.0 for processing incoming inventory shipments. No authentication required per CVSS PR:N and confirmed by description stating remote launch capability without credential prerequisites. No user interaction needed (CVSS UI:N) as the vulnerable endpoint processes backend AJAX requests directly. Exploitation succeeds against default configurations without special deployment modes. Attack complexity is low (CVSS AC:L) due to straightforward parameter manipulation via standard HTTP requests. Limiting factors: requires the specific SourceCodester application to be deployed and web-accessible; generic pharmacy management systems or different vendor products unaffected.

Impact

Real-world risk is ELEVATED despite moderate CVSS 7.3 score. Critical risk factors: (1) CVSS vector shows AV:N/AC:L/PR:N/UI:N-remote unauthenticated exploitation against default configurations with low complexity; (2) publicly available exploit code on GitHub (referenced in VulDB CTI) enables attackers with minimal skill to weaponize this within hours; (3) E:P (Proof-of-concept exists) confirmed in CVSS temporal metrics; (4) RL:X indicates no remediation level assessed, suggesting no vendor patch at time of disclosure. However, impact is constrained to C:L/I:L/A:L-partial confidentiality/integrity/availability rather than complete system compromise, likely reflecting database-layer access rather than OS-level code execution. Primary risk: unauthorized access to pharmacy inventory data, patient records (if stored), or modification of sales/stock records. EPSS score absent from input data, preventing quantitative exploitation probability assessment. No CISA KEV listing indicates targeted rather than widespread exploitation campaigns. Organizations running this specific open-source application face immediate risk; broader healthcare/retail sectors unaffected unless using this exact SourceCodester product.

Exploit ScenarioDerived

Attacker identifies pharmacy management system via reconnaissance (banner grabbing, directory enumeration). Crafts HTTP POST/GET request to /ajax.php?action=save_receiving with ID parameter containing SQL injection payload such as "1' UNION SELECT username,password,3 FROM admin_users--" to extract administrative credentials, or "1'; DROP TABLE inventory_records--" to destroy inventory data. Publicly available GitHub PoC (https://github.com/nidieaaa/test/issues/3) provides ready-to-use attack strings, eliminating development effort. No authentication required per CVSS PR:N vector, enabling attacks against internet-facing installations within minutes of discovery.

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

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execute arbitrary SQL commands via the ID parameter in /ajax.php?action=save_receiving. Publicly available exploit code (GitHub PoC) enables immediate weaponization. CVSS 7.3 reflects network-accessible attack with no authentication required, enabling confidentiality/integrity/availability impact across database operations. EPSS data not provided, but public exploit availability significantly elevates real-world risk for unpatched installations of this open-source PHP application.

RemediationAI

No vendor-released patch identified at time of analysis (CVSS RL:X indicates unavailable remediation). Primary mitigation: immediately implement prepared statements or parameterized queries for all database interactions in /ajax.php, specifically for the 'save_receiving' action handler processing the ID parameter-this eliminates root cause by separating SQL logic from user data. Secondary urgent control: implement allowlist input validation restricting ID parameter to positive integers only (e.g., PHP filter_var with FILTER_VALIDATE_INT), rejecting requests with non-numeric values before database interaction. Compensating network controls with trade-offs: (1) restrict /ajax.php access to authenticated admin sessions only via PHP session validation-breaks unauthenticated API workflows if intended; (2) deploy web application firewall (WAF) with SQL injection signatures targeting common patterns (UNION, OR 1=1, comment sequences)-generates false positives for legitimate queries containing SQL keywords; (3) apply IP allowlisting for admin endpoints-prevents remote administration and breaks distributed usage scenarios. For production systems, consider migrating to actively maintained alternatives given SourceCodester's educational codebase focus. Monitor database logs for anomalous query patterns (multiple statements, UNION clauses, information_schema access) as detective control.

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

This is a classic SQL injection vulnerability (CWE-89) in a PHP-based web application. The affected endpoint /ajax.php processes AJAX requests with an action parameter set to 'save_receiving', commonly used for inventory receiving operations in pharmacy management workflows. The vulnerability exists in server-side SQL query construction where user-supplied input from the 'ID' parameter is incorporated without proper sanitization, parameterization, or escaping. Attackers can inject malicious SQL syntax to manipulate database queries, potentially breaking out of intended WHERE clauses or appending additional SQL commands. The CPE identifies SourceCodester Pharmacy Sales and Inventory System as the affected product-a freely available PHP application likely built for educational or small business purposes without enterprise-grade input validation controls.

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

5
CVSS changed
Apr 29, 2026 - 01:12 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
Severity Changed
Apr 27, 2026 - 06:22 NVD
HIGH MEDIUM
CVSS changed
Apr 27, 2026 - 06:22 NVD
7.3 (HIGH) 6.9 (MEDIUM)
CVE Published
Apr 27, 2026 - 04:45 nvd
MEDIUM 5.5

DescriptionCVE.org

A weakness has been identified in SourceCodester Pharmacy Sales and Inventory System 1.0. The affected element is an unknown function of the file /ajax.php?action=save_receiving. Executing a manipulation of the argument ID can lead to sql injection. The attack can be launched remotely. The exploit has been made available to the public and could be used for attacks.

Executive ViewAI

Why It Matters

SourceCodester Pharmacy Sales and Inventory System version 1.0 contains an unauthenticated SQL injection vulnerability in the receiving module that allows remote attackers to compromise database integrity and confidentiality without credentials. Organizations operating this open-source pharmacy management application face immediate risk of patient data exposure, inventory manipulation, and system downtime, with publicly available exploit code lowering the barrier to attack.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement Web Application Firewall (WAF) rules to block SQL injection patterns in /ajax.php?action=save_receiving requests; (2) Restrict network access to pharmacy system via firewall to authorized internal IP ranges only; (3) Disable or restrict the receiving module functionality at application level if operationally feasible; (4) Increase database access logging and monitoring for anomalous SQL commands; (5) Enforce principle of least privilege on database service account credentials.

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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
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-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-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