CVE-2026-11518 Details
Description
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.
A stored cross-site scripting vulnerability has been identified in SourceCodester Inventory System version 1.0. The issue resides in the User Management page (`users.php`), where the application fails to properly sanitize user input from the `fullname` and `username` fields before storing it in the database. This unsanitized data is later rendered in the admin panel, allowing for the execution of malicious scripts. The vulnerability can be exploited remotely and without authentication.
To address this vulnerability, sanitize and validate user input on the server side before it is stored in the database. Additionally, encode output using `htmlspecialchars()` with `ENT_QUOTES` before rendering user-supplied data in HTML. Implementing a Content Security Policy (CSP) header can also help mitigate the impact of XSS vulnerabilities.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 8, 2026CISA-ADP
Assessed Jun 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Xmyronn/Stored-XSS-in-Inventory-System-using-PHP-and-MySQL.git | [email protected] | ExploitTechnical Description |
| https://vuldb.com/cve/CVE-2026-11518 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/836289 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/369138 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/369138/cti | [email protected] | AdvisoryContent Wall |
| https://www.sourcecodester.com/ | [email protected] | Vendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SourceCodester Inventory System | 1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 8, 2026 | New CVE Received | [email protected] |
Volerion