Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege application credentials
-
DeliveryAuthenticate to Pharmacy Sales and Inventory System
-
ExploitCraft HTTP request to /ajax.php?action=delete_supplier
-
ExecutionInject SQL payload into `id` parameter
-
PersistBackend executes malicious SQL query
-
ImpactExfiltrate 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Pharmacy Sales And Inventory System v1.0 is vulnerable to SQL Injection via /pharmacy-sales-and-inventory-system/manage_
Unauthenticated remote information disclosure in SourceCodester Pharmacy Sales and Inventory System 1.0 allows network-b
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to read,
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to extra
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 exposes the `/ajax.php?action=save_product` endp
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to read,
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to extra
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows unauthenticated remote attackers to extra
EUVD-2026-26264
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB