CVE-2026-112095 Details
Description
A flaw has been found in SourceCodester Inventory System 1.0. This affects an unknown part of the file /api/products_handler.php?action=save of the component Product Management. Executing a manipulation of the argument Product_Id/Product_Name can lead to cross site scripting. The attack may be performed from remote. The exploit has been published and may be used.
A stored cross-site scripting vulnerability has been identified in SourceCodester Inventory System version 1.0. The issue arises in the product management component, specifically within the file '/api/products_handler.php?action=save'. The vulnerability allows for the injection of malicious scripts through the 'Product_Id' and 'Product_Name' parameters. Once injected, these scripts are executed in the context of the user viewing the products page. The session cookie 'PHPSESSID' is also accessible via JavaScript, enabling an attacker to hijack admin sessions and gain full access to admin privileges.
To address this vulnerability, implement proper output encoding on the server side, use DataTables' built-in text escaping features, and set the HttpOnly flag on session cookies.
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 Oct 19, 2026CISA-ADP
Assessed Oct 22, 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/Mohnad-AL-saif/MyCVEs/blob/main/VulDB/Inventory-System/CVE-01-XSS-products.md | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-112095 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1012164 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/421919 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/421919/cti | [email protected] | Content 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
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 22, 2026 | CVE Modified | CISA-ADP |
| Oct 19, 2026 | New CVE Received | [email protected] |
Volerion