Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker obtains low-privilege credentials
-
DeliveryCraft malicious URL with XSS payload in header.php parameter
-
ExploitDeliver crafted link to privileged victim user
-
ExecutionVictim clicks link while authenticated
-
PersistInjected script executes in victim browser
-
ImpactAttacker 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Inventory System
View allReflected XSS in SourceCodester Inventory System 1.0 allows remote attackers to inject arbitrary JavaScript via the unva
Cross Site Scripting (XSS) vulnerability in InventorySystem thru commit e08fbbe17902146313501ed0b5feba81d58f455c (on Apr
Reflected cross-site scripting (XSS) in SourceCodester Inventory System 1.0 allows remote attackers to inject arbitrary
Stored cross-site scripting in SourceCodester Inventory System 1.0 allows remote unauthenticated attackers to inject per
Stored cross-site scripting in SourceCodester Inventory System 1.0 is a genuine-but-low-priority issue: an authenticated
Cross-site scripting in SourceCodester Inventory System 1.0 allows an authenticated low-privileged user to inject script
Stored cross-site scripting in SourceCodester Inventory System 1.0 allows an authenticated user to inject script through
Improper authorization in SourceCodester Inventory System 1.0 allows authenticated remote attackers to manipulate the RO
EUVD-2026-35070
GHSA-j47h-85f4-43gf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB