Skip to main content

SourceCodester Pharmacy Sales and Inventory System CVE-2026-8136

| EUVDEUVD-2026-28523 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-05-08 VulDB GHSA-3h5f-583p-w5vj
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain admin credentials
  2. Delivery
    Access /index.php?page=users
  3. Exploit
    Inject XSS payload in Name parameter
  4. Execution
    Submit user record
  5. Persist
    Payload executes in admin browser
  6. Impact
    Steal 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.

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 – 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

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 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

Vendor (VulDB) PRIMARY 1.9 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
May 08, 2026 - 04:22 NVD
2.4 (LOW) 1.9 (LOW)
CVE Published
May 08, 2026 - 03:45 nvd
LOW 1.9

DescriptionCVE.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

EPSS Score
0.0%
Top 91% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
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

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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