Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user
-
DeliverySubmit crafted Product_Id/Product_Name to products_handler.php
-
ExploitStored XSS payload persists
-
ExecutionVictim renders Product Management page
-
ImpactScript executes in victim browser
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 an authenticated account with at least low privileges (PR:L) able to reach the product-save API /api/products_handler.php?action=save, and requires a second user (e.g., an administrator) to subsequently view the affected Product Management page so the injected Product_Id/Product_Name payload renders (UI:P/passive interaction). Limiting factors: attacker must already have valid credentials, impact is confined to script execution in the victim's browser session with only limited integrity effect and no confidentiality or availability loss, and the target is a niche SourceCodester application unlikely to appear in hardened production environments. |
| Impact | This is a genuinely low-priority issue despite being remotely reachable. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) and the 5.1 base score are internally consistent with a stored/reflected cross-site scripting flaw that requires both authenticated access (PR:L) and victim interaction (UI:P), with only limited integrity impact (VI:L) and no confidentiality or availability impact. SSVC-style reading: exploitation is 'proof-of-concept' (E:P in the vector matches the published POC), technical impact is partial, and the flaw is not automatable in any meaningful way because it depends on a privileged actor injecting a payload and a victim rendering it. There is no EPSS score provided and the CVE is NOT on CISA KEV, so there is no evidence of active exploitation - only publicly available exploit code exists. The combination of required privileges, required user interaction, limited impact, and an obscure target product means this is a low-real-risk issue even though it is network-reachable. Note: all intelligence derives from a single source (VulDB); no independent vendor advisory or NVD enrichment was provided, so affected-version and fix data are unconfirmed. |
| Exploit ScenarioDerived | A low-privileged authenticated user of the Inventory System submits a product via /api/products_handler.php?action=save with a malicious script payload in the Product_Id or Product_Name field; the value is stored and later rendered unsanitized in the Product Management interface. When an administrator or another user views that product, the injected script executes in their browser session. A public POC exists (published on GitHub by the reporter), lowering the barrier to reproduction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Cross-site scripting in SourceCodester Inventory System 1.0 allows an authenticated low-privileged user to inject script through the Product_Id or Product_Name argument in /api/products_handler.php?action=save, with execution occurring when another user later views the Product Management page. Exploitation requires valid credentials and victim interaction, publicly available exploit code exists, and the CVSS 4.0 score is 5.1; impact is limited to browser-session integrity with no confidentiality or availability loss.
RemediationAI
No vendor-released patch identified at time of analysis; the available references are the VulDB advisory at https://vuldb.com/vuln/421919 and the public exploit write-up at https://github.com/Mohnad-AL-saif/MyCVEs/blob/main/VulDB/Inventory-System/CVE-01-XSS-products.md. Until a fix is available, restrict access to the Product Management save endpoint and page to only the accounts that require that workflow, and require re-authentication before administrative product views; the trade-off is reduced convenience for inventory staff. Validate Product_Id and Product_Name server-side with strict allowlists and HTML-escape those values on output; strict allowlists may reject legitimate names or identifiers containing special characters, so test against real data. Deploy a Content-Security-Policy such as script-src 'self' with nonces or hashes to reduce inline script execution; this can break legitimate inline scripts unless tested. Add a WAF rule to block script tags and event-handler payloads in product parameters, accepting possible false positives, and review product records for stored payloads before restoring normal access.
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 System is a PHP-based inventory management application. The vulnerable Product Management workflow accepts user-controlled Product_Id and Product_Name values at /api/products_handler.php?action=save and later renders them without adequate output encoding, matching CWE-79 (improper neutralization of input during web page generation). Because the issue is cross-site scripting, successful exploitation executes attacker-supplied script in the browser context of a user who views the affected page, but does not directly compromise the server or grant access to backend data beyond the victim's session. The CPE cpe:2.3:a:sourcecodester:inventory_system:*:*:*:*:*:*:*:* uses a wildcard version and does not narrow the affected range; the public report specifically names version 1.0. The CVSS 4.0 vector indicates network reachability, low privileges, passive user interaction, and limited integrity impact, consistent with the independent CVSS 3.1 assessment of AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N.
Know when Inventory 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
Authenticated submission requires PR:L and victim rendering requires UI:R; XSS crosses into the victim's browser context (S:C) with limited integrity impact and no confidentiality or availability loss.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
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.
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 System
View allReflected XSS in SourceCodester Inventory System 1.0 allows remote attackers to inject arbitrary JavaScript via the unva
Cross Site Scripting (XSS) vulnerability in InventorySystem thru commit e08fbbe17902146313501ed0b5feba81d58f455c (on Apr
Reflected cross-site scripting (XSS) in SourceCodester Inventory System 1.0 allows remote attackers to inject arbitrary
Stored cross-site scripting in SourceCodester Inventory System 1.0 allows remote unauthenticated attackers to inject per
Stored cross-site scripting in SourceCodester Inventory System 1.0 is a genuine-but-low-priority issue: an authenticated
Stored cross-site scripting in SourceCodester Inventory System 1.0 allows an authenticated user to inject script through
Improper authorization in SourceCodester Inventory System 1.0 allows authenticated remote attackers to manipulate the RO
Reflected cross-site scripting in SourceCodester Inventory System 1.0 allows remote authenticated attackers to inject ar
EUVD-2026-104121
GHSA-x2mw-g65c-mpqg
NVD
CVE.org
EPSS
VulDB
Exploit-DB