Skip to main content

Pharmacy Sales Inventory CVE-2026-10245

| EUVDEUVD-2026-33618 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-06-01 VulDB GHSA-4j5r-6h7v-59cc
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with low-privilege account
  2. Delivery
    Navigate to /ShowForm/create_supplier/main
  3. Exploit
    Submit crafted company_name with XSS payload
  4. Execution
    Payload persisted in supplier record
  5. Persist
    Victim authenticated user views supplier listing
  6. Impact
    Malicious script executes in victim's browser session

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

The attacker must hold a valid low-privilege account on the Pharmacy Sales and Inventory System (CVSS PR:L), meaning unauthenticated exploitation is not possible. Exploitation further requires user interaction (CVSS UI:R) - a second authenticated user must view the page or record where the injected payload is rendered. The vulnerable function is specifically create_supplier at the endpoint /ShowForm/create_supplier/main, so the system must have the supplier management module accessible to the attacker's role. The attack is scoped to unchanged scope (S:U), meaning the injected script executes only within the application's origin and cannot directly pivot to other systems. Limiting factors include: the requirement for two authenticated sessions (attacker and victim), a non-default scenario of a low-privilege user having create-supplier rights, and absence of confidentiality impact suggesting session token theft is not automatically guaranteed by the exploit.

Impact

The CVSS base score of 3.5 (Low) is grounded in a vector of AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N - network-accessible but requiring authenticated low-privileged access and victim interaction, with impact confined to integrity only. These constraints are real and meaningful: this is not an unauthenticated or zero-click attack. The temporal qualifiers reinforce a measured posture: E:P confirms a public POC exists, RL:X indicates no official remediation level has been assigned (consistent with absence of a vendor patch), and RC:R reflects reasonable but not fully confirmed confidence in the vulnerability. No EPSS data was provided, and the vulnerability is not listed in CISA KEV, so exploitation remains unconfirmed at scale. The public POC on GitHub (referenced via the exploit tag in references) reduces the skill bar for exploitation but does not change the prerequisite of authenticated access. Overall, this is a low-severity, real vulnerability with a credible but constrained exploitation path - prioritize based on whether untrusted users have access to supplier management functions.

Exploit ScenarioDerived

An attacker with a low-privilege account on the Pharmacy Sales and Inventory System navigates to the supplier creation form and submits a crafted company_name value containing a malicious JavaScript payload (e.g., an XSS string that exfiltrates session cookies). The payload is stored in the supplier record and later rendered without encoding to another authenticated user - such as a pharmacist or administrator - who views the supplier list, triggering the script execution in their browser context. A public POC for this technique exists at https://github.com/timeflies123/cve/issues/3, providing a working reference for the injection vector.

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 – Jun 01, 2026

Stored or reflected cross-site scripting (XSS) in SourceCodester Pharmacy Sales and Inventory System 1.0 allows a remote, low-privileged attacker to inject arbitrary JavaScript via the company_name argument in the create_supplier function at /ShowForm/create_supplier/main. Successful exploitation requires a victim user to interact with the malicious content, limiting blast radius, but the CVSS temporal metric confirms a proof-of-concept exploit is publicly available via GitHub. No active exploitation has been identified in CISA KEV, though the low attack complexity and public POC make this a credible risk for unpatched deployments handling sensitive pharmaceutical inventory data.

RemediationAI

No vendor-released patch has been identified at time of analysis - the CVSS remediation level is not defined (RL:X) and no patched version is referenced in any advisory. Operators should immediately apply output encoding to the company_name field before rendering it in HTML context; for PHP-based applications this means using htmlspecialchars() or equivalent at all display points. Input validation should reject or sanitize HTML metacharacters (<, >, ", ', &) at the point of entry in the create_supplier function. As a compensating control, restrict access to the /ShowForm/create_supplier/main endpoint to only trusted internal administrator roles via firewall or application-layer access control - this directly addresses the PR:L requirement and eliminates the attack surface for lower-privilege users. A Content Security Policy (CSP) header disabling inline script execution (script-src 'self') would reduce XSS impact even if the injection succeeds, though it may require application-level changes to support. Monitor VulDB at https://vuldb.com/vuln/367523 and the SourceCodester site at https://www.sourcecodester.com/ for future patch releases.

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

CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause - the application fails to sanitize or encode user-supplied input before rendering it in the browser. The vulnerable endpoint is the supplier creation form at /ShowForm/create_supplier/main, specifically the company_name parameter processed by the create_supplier function. The CPE cpe:2.3:a:sourcecodester:pharmacy_sales_and_inventory_system:*:*:*:*:*:*:*:* covers all sub-versions of the 1.0 release with no upper bound specified, indicating the entire product line is affected. SourceCodester is a known publisher of open-source PHP-based management systems frequently studied and disclosed via VulDB; these systems typically lack a formal SDLC or security review process, making input validation gaps common. The XSS payload is likely persisted in a supplier record and rendered to any user viewing supplier listings.

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:L/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
Low
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

1
CVSS changed
Jun 01, 2026 - 11:22 NVD
3.5 (LOW) 2.0 (LOW)

DescriptionCVE.org

A flaw has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. Affected by this issue is the function create_supplier of the file /ShowForm/create_supplier/main. Executing a manipulation of the argument company_name can lead to cross site scripting. The attack can be launched remotely. The exploit has been published and may be used.

Threat Intelligence Overview

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