Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials
-
DeliveryAccess /index.php?page=users
-
ExploitInject XSS payload in Name parameter
-
ExecutionSubmit user record
-
PersistPayload executes in admin browser
-
ImpactSteal session or perform unauthorized action
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires PR:H (high privileges - administrative account access to the Pharmacy Sales and Inventory System), AC:L (low attack complexity - straightforward parameter injection), and UI:P (user interaction - a victim administrator must view the crafted payload). The vulnerable endpoint /index.php?page=users must be accessible; this is typically an internal administrative interface. No authentication bypass is needed; the attacker must already possess or have compromised an administrative account, or the XSS must be delivered via social engineering of an admin user. The Name parameter must be rendered without output encoding in the administrative user list view. These conditions significantly limit exploitation to insider threats or compromised admin accounts, not external unauthenticated attackers. |
| Impact | This vulnerability presents limited real-world risk despite public exploit availability, due to multiple restrictive factors in the CVSS vector. The CVSS score of 1.9 (low severity) reflects significant constraints: PR:H (high privileges required) means only administrative users can exploit this, and UI:P (user interaction required) necessitates victim action beyond the attacker's control. The attack vector is network-accessible (AV:N/AC:L), but the high privilege barrier and user interaction requirement substantially reduce exploitation likelihood. EPSS data is not provided, but the vulnerability's impact is confined to integrity (VI:L), with no confidentiality or availability compromise. Exploitation status shows publicly available exploit code exists, suggesting proof-of-concept demonstration rather than widespread active exploitation. This is a stored or reflected XSS in an internal administrative tool - practically exploitable only by compromised admin accounts or through social engineering of administrators, not by external attackers. Priority should be low-to-medium, dependent on internal threat model and admin account security practices. |
| Exploit ScenarioDerived | An authenticated administrator (or attacker with stolen admin credentials) navigates to /index.php?page=users and enters a malicious script payload such as <script>alert('XSS')</script> in the Name field. If another administrator views the user list, the script executes in their browser, potentially stealing session cookies or performing unauthorized actions on their behalf. Alternatively, if the vulnerability is stored XSS, the payload persists and executes for all users accessing the user management page. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
Cross-site scripting (XSS) in SourceCodester Pharmacy Sales and Inventory System 1.0 allows high-privileged users with user interaction to inject malicious scripts via the Name parameter in /index.php?page=users, affecting application integrity with low severity. The vulnerability requires administrative privileges and user interaction to exploit, limiting real-world impact despite public exploit availability.
RemediationAI
Immediate mitigation requires upgrading to a patched version if available from SourceCodester; vendor patch status not confirmed from available data. As a compensating control, implement output encoding by applying htmlspecialchars() or equivalent context-aware escaping (e.g., HTML entity encoding) to all user-supplied input before rendering in HTML context, specifically the Name parameter in /index.php?page=users. Additionally, implement Content Security Policy (CSP) headers with script-src 'self' to prevent inline script execution, reducing XSS payload effectiveness even if injection succeeds. Restrict administrative access to the /index.php?page=users endpoint to trusted internal networks via firewall or application-level access controls, limiting exposure to legitimate administrative users only. Conduct code review of user input handling across the application to identify similar XSS vulnerabilities in other parameters.
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 vulnerability is a reflected or stored cross-site scripting (CWE-79) flaw in a PHP-based web application. The attack vector targets the user management interface at /index.php?page=users, specifically the Name parameter, which accepts unsanitized input that is rendered in the browser without proper output encoding or input validation. The PHP application fails to implement context-appropriate escaping mechanisms (htmlspecialchars, CSP headers, or input filtering) when processing and displaying the Name field, allowing attackers to inject arbitrary HTML and JavaScript payloads that execute in the victim's browser context.
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:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A flaw has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. This affects an unknown part of the file /index.php?page=users. Executing a manipulation of the argument Name can lead to cross site scripting. The attack may be launched remotely. The exploit has been published 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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
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-28523
GHSA-3h5f-583p-w5vj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB