CVE-2026-112096: Cross Site Scripting in SourceCodester Inventory System
Description
CVE-2026-112096 is a cross-site scripting (XSS) vulnerability in SourceCodester Inventory System version 1.0. The flaw exists in the Purchase Records Handler component, specifically in the /api/transactions_handler.php?action=save_purchase endpoint. It allows remote attackers to inject malicious scripts via the Product_Name, Product_Code, or Vendor_Name parameters. The vulnerability has a medium severity with a CVSS 4.0 score of 5.1. Exploit details have been publicly disclosed, but no known exploits are reported in the wild. No patch or remediation information is currently available.
CVSS v4.0
Score 5.1medium
Affected software
SourceCodester
Inventory System
cpe:2.3:a:sourcecodester:inventory_system:*:*:*:*:*:*:*:*AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability affects SourceCodester Inventory System 1.0 in the Purchase Records Handler component. The issue arises from improper sanitization of input parameters Product_Name, Product_Code, and Vendor_Name in the /api/transactions_handler.php?action=save_purchase endpoint, enabling remote attackers to perform cross-site scripting attacks. The vulnerability is classified as medium severity with a CVSS 4.0 score of 5.1. Public disclosure of the exploit exists, but no active exploitation in the wild has been confirmed. No official patch or fix has been provided by the vendor as of the publication date.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary scripts in the context of the affected web application, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability requires low attack complexity and no privileges but does require user interaction. There is no evidence of impact on confidentiality, integrity, or availability beyond the XSS attack vector.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider applying input validation or sanitization at the application level to mitigate the risk of XSS attacks. Additionally, employing web application firewalls (WAFs) that can detect and block XSS payloads may reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-10-18T17:10:17.303Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ad5d9822cdf04f6563393bd
Added to database: 10/19/2026, 08:49:06 UTC
Last enriched: 10/19/2026, 09:03:23 UTC
Last updated: 10/19/2026, 09:08:13 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.