Skip to main content

CVE-2026-112096: Cross Site Scripting in SourceCodester Inventory System

0
Medium
VulnerabilityCVE-2026-112096cvecve-2026-112096
Published: 10/19/2026 (10/19/2026, 08:30:19 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

SourceCodester

Inventory System

Affected versions
=1.0
CPE configurations
cpe:2.3:a:sourcecodester:inventory_system:*:*:*:*:*:*:*:*

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/19/2026, 09:03:23 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses