Skip to main content

SourceCodester Inventory System CVE-2026-11520

| EUVDEUVD-2026-35070 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-06-08 VulDB GHSA-j47h-85f4-43gf
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Attacker obtains low-privilege credentials
  2. Delivery
    Craft malicious URL with XSS payload in header.php parameter
  3. Exploit
    Deliver crafted link to privileged victim user
  4. Execution
    Victim clicks link while authenticated
  5. Persist
    Injected script executes in victim browser
  6. Impact
    Attacker captures session token or performs privileged 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

The attacker must hold a valid low-privilege account on the SourceCodester Inventory System (PR:L per CVSS vector) - unauthenticated exploitation is not supported by the available data. A victim user must be induced to interact with a crafted URL or page element (UI:R per CVSS vector), meaning fully automated exploitation without victim interaction is not possible under this vulnerability's conditions. The vulnerable code path runs through header.php with multiple parameters potentially affected; the specific parameter names are not disclosed in available data. Exploitation is limited by the unchanged scope (S:U), preventing cross-system pivot, and by the low integrity-only impact, which constrains the attack to script injection rather than data exfiltration or service disruption. Internet-exposed instances accessible to untrusted authenticated users present the highest realistic risk.

Impact

The CVSS 3.1 base score of 3.5 (Low) accurately reflects constrained real-world risk. The attack vector is network (AV:N) with low complexity (AC:L), but requires low-privilege authentication (PR:L) and victim user interaction (UI:R), both of which are meaningful barriers. The impact is limited to low integrity (I:L) with no confidentiality or availability impact (C:N/A:N), consistent with a non-persistent or limited-scope XSS. The scope is unchanged (S:U), meaning the attack cannot pivot to other system components. The CVSS temporal modifier E:P (proof-of-concept) confirms exploit code is public, which slightly elevates urgency, but no EPSS score was provided in the source data and no CISA KEV listing exists. In practice, this vulnerability primarily threatens internal users of a self-hosted inventory application: an attacker who already has a valid low-privilege account could phish a higher-privileged user to steal session tokens or perform UI redressing. For organizations using this software in an internet-exposed or multi-tenant configuration, risk is moderately elevated despite the low base score. For internal-only deployments with controlled user bases, practical risk is low.

Exploit ScenarioDerived

An authenticated low-privilege user of the Inventory System crafts a malicious URL targeting header.php with a JavaScript payload embedded in one of the vulnerable parameters, then socially engineers a higher-privileged user (e.g., an administrator) into clicking the link while logged in. When the victim loads the URL, the unsanitized parameter is reflected into the page HTML and the injected script executes in the victim's browser context, potentially enabling session cookie theft or forced UI actions. A public proof-of-concept exists per the CVSS E:P temporal modifier and VulDB disclosure, lowering the skill threshold for exploitation.

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 08, 2026

Reflected cross-site scripting in SourceCodester Inventory System 1.0 allows remote authenticated attackers to inject arbitrary JavaScript into victim browsers via unsanitized parameters in header.php. The attack requires low-level authentication and victim interaction with a crafted URL, limiting scope to integrity impact only (no confidentiality or availability impact per CVSS). Publicly available exploit code exists (CVSS E:P), though no active exploitation has been confirmed via CISA KEV, and the overall CVSS score of 3.5 (Low) reflects the constrained attack conditions.

RemediationAI

No vendor-released patch has been identified at time of analysis; the SourceCodester website (https://www.sourcecodester.com/) does not list a security advisory or updated version. The primary remediation is to apply output encoding to all user-controlled parameters reflected in header.php, using PHP's htmlspecialchars() with ENT_QUOTES and the appropriate charset before echoing values into HTML context - this directly eliminates the XSS root cause. As a compensating control, deploying a web application firewall (WAF) rule to block common XSS payloads (e.g., script tag injection) in request parameters reduces exploitability, though determined attackers may bypass signature-based filters. Restricting access to the application via network-level controls (VPN, IP allowlist) mitigates remote exploitation (AV:N) by reducing the attacker pool, at the cost of reduced accessibility. Content Security Policy (CSP) headers can limit script execution scope even if injection occurs, though this is defense-in-depth rather than a fix. Administrators should monitor VulDB (https://vuldb.com/vuln/369140) and the SourceCodester site for a patched release.

Affected VersionsENISA

Inventory System 1.0

Affected Packages

euvd 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

SourceCodester Inventory System 1.0 is a PHP-based web inventory management application distributed via sourcecodester.com. The vulnerability resides in header.php, a likely shared include file rendered on multiple pages, where one or more GET or POST parameters are reflected into the HTML response without proper output encoding or sanitization. This maps to CWE-79 (Improper Neutralization of Input During Web Page Generation), the root cause class for XSS. The PHP runtime does not inherently prevent unsanitized echo or print of user-controlled input, making this a classic reflected XSS if the parameter is echoed on the same request, or stored XSS if the value is persisted. The affected CPE is cpe:2.3:a:sourcecodester:inventory_system:*:*:*:*:*:*:*:* indicating the version wildcard leaves broader version applicability possible beyond 1.0, though 1.0 is the confirmed version in the description.

Know when 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 08, 2026 - 15:37 NVD
3.5 (LOW) 2.0 (LOW)

DescriptionCVE.org

A weakness has been identified in SourceCodester Inventory System 1.0. Affected by this issue is some unknown functionality of the file header.php. This manipulation causes cross site scripting. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. Multiple parameters might be affected.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
7 sources
Confidence: High

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 No
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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
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.

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