Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit unauthenticated POST to /users.php
-
DeliveryInject XSS payload into fullname/username field
-
ExploitPayload persists in database
-
ExecutionAdmin loads User Management Page
-
PersistMalicious script executes in admin browser
-
ImpactExfiltrate session token or credentials
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 be able to reach the /users.php endpoint over the network (AV:N) - the application is PHP/MySQL-based and typically HTTP-exposed. The submission of the malicious payload requires no authentication (PR:N confirmed by CVSS vector), meaning any network-reachable party can plant the payload. Exploitation requires that a separate victim user - most likely an administrator - subsequently loads /users.php in their browser (UI:R); the attack does not complete without this interaction. Factors limiting exploitation: (1) the victim must actively navigate to the User Management Page, which is an admin function and not visited by all users; (2) the application scope is unchanged (S:U), so the XSS cannot directly pivot to other origins; (3) this product is typically deployed in small-business or educational contexts, reducing the total addressable attack surface. Non-default or special configuration is not required - the vulnerable parameters are core user management fields present in the default application. |
| Impact | The CVSS base score of 4.3 (Medium) reflects the low integrity-only impact (I:L) and required user interaction (UI:R), which mechanically suppresses the score. However, several signals warrant elevating the practical risk assessment. First, PR:N (no privileges required) means the injection step is open to unauthenticated attackers - the barrier to planting the payload is zero. Second, a public PoC (GitHub repository) exists, confirmed by VulDB and the CVSS temporal modifier E:P (Proof of Concept), meaning exploitation requires minimal skill. Third, the target of the XSS execution is the User Management Page, strongly suggesting the victim is an administrative user whose compromised session would grant full application control. EPSS data was not provided in the input - exploitation probability cannot be quantified from available signals. The CVSS Remediation Level modifier RL:X indicates no remediation level has been defined, consistent with the absence of a vendor patch. The RC:R (Reasonable Confidence) temporal modifier confirms the vulnerability is credibly established but not yet vendor-acknowledged with a fix. Net assessment: higher real-world priority than CVSS 4.3 implies, due to unauthenticated write path and admin-targeted payload execution. |
| Exploit ScenarioDerived | An unauthenticated external attacker submits a crafted HTTP POST request to /users.php with a fullname or username value containing a JavaScript payload (e.g., a session cookie-stealing script). The payload is stored in the application database without sanitization. When an administrator next logs in and navigates to the User Management Page to manage users, the stored payload executes in their browser, exfiltrating their session token to an attacker-controlled server. A public PoC demonstrating this stored XSS technique is available at https://github.com/Xmyronn/Stored-XSS-in-Inventory-System-using-PHP-and-MySQL.git. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Stored cross-site scripting in SourceCodester Inventory System 1.0 allows remote unauthenticated attackers to inject persistent malicious scripts via the fullname and username parameters in /users.php on the User Management Page. When an authenticated user - likely an administrator - visits the affected page, the injected script executes in their browser session, enabling session hijacking, credential theft, or unauthorized UI manipulation. Publicly available exploit code exists (GitHub PoC by Xmyronn); this is not listed in CISA KEV but the low-complexity, no-authentication submission path elevates practical risk above the CVSS 4.3 score suggests.
RemediationAI
No vendor-released patch has been identified at time of analysis - the CVSS RL:X modifier and absence of any advisory from SourceCodester confirm this. Upstream fix availability should be monitored at https://www.sourcecodester.com/ and tracked via https://vuldb.com/cve/CVE-2026-11518. As a primary compensating control, implement server-side input validation and HTML output encoding (e.g., PHP htmlspecialchars() with ENT_QUOTES) on the fullname and username parameters in /users.php before database writes and HTML rendering; this directly neutralizes the injection vector but requires code modification. If modifying application code is not feasible, deploy a Web Application Firewall (WAF) rule blocking script-tag and event-handler patterns in the affected parameters - note that WAF bypass techniques exist and this is not a permanent fix. As an access control measure, restrict the User Management Page (/users.php) to trusted network segments or authenticated administrative IP ranges, reducing the attacker's ability to reach the unauthenticated submission endpoint; this trades availability for security. Content Security Policy (CSP) headers can limit the impact of successful XSS by restricting inline script execution, but do not prevent payload storage.
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/MySQL-based inventory management application (CPE: cpe:2.3:a:sourcecodester:inventory_system:*:*:*:*:*:*:*:*). The vulnerability is rooted in CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a stored XSS variant. The /users.php endpoint in the User Management component fails to sanitize or encode the fullname and username POST parameters before persisting them to the database and later reflecting them in HTML output. Because the payload is stored server-side, every subsequent page load of /users.php by any application user will trigger script execution - making this more impactful than a reflected XSS that requires per-victim link delivery. The wildcard version in the CPE string (*:*:*:*:*:*:*:*) indicates no version-bounded fix has been identified.
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:N/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
2DescriptionCVE.org
A vulnerability was identified in SourceCodester Inventory System 1.0. Affected is an unknown function of the file /users.php of the component User Management Page. The manipulation of the argument fullname/username leads to cross site scripting. The attack is possible to be carried out remotely. The exploit is publicly available and might be used.
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 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
Reflected cross-site scripting in SourceCodester Inventory System 1.0 allows remote authenticated attackers to inject ar
EUVD-2026-35068
GHSA-pq38-j3fr-2399
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB