Skip to main content

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

0
Medium
VulnerabilityCVE-2026-112097cvecve-2026-112097
Published: 10/19/2026 (10/19/2026, 08:45:14 UTC)
Source: CVE Database V5
Vendor/Project: SourceCodester
Product: Inventory System

Description

CVE-2026-112097 is a cross-site scripting (XSS) vulnerability in SourceCodester Inventory System version 1.0. The vulnerability exists in the Sales Management Handler component, specifically in the /api/transactions_handler.php endpoint when processing the Hsn_Code argument. This flaw allows remote attackers to inject malicious scripts. The vulnerability has a medium severity rating with a CVSS score of 5.1.

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:X

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:18:15 UTC

Technical Analysis

SourceCodester Inventory System 1.0 contains a cross-site scripting vulnerability in the Sales Management Handler component. The issue arises from improper handling of the Hsn_Code parameter in the /api/transactions_handler.php?action=save_sale endpoint, enabling remote attackers to inject and execute arbitrary scripts in the context of the affected application.

Potential Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or other client-side attacks. However, the impact is limited to the scope of the affected web application and requires user interaction (UI:P).

Mitigation Recommendations

No official patch or remediation information is provided. 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 on the Hsn_Code parameter and employ web application firewalls to detect and block XSS attempts.

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:20.809Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad5dd292cdf04f656366481

Added to database: 10/19/2026, 09:04:41 UTC

Last enriched: 10/19/2026, 09:18:15 UTC

Last updated: 10/19/2026, 09:20:23 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