Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker authenticates with low-privilege account
-
DeliveryCraft XSS payload in Customer_Name field
-
ExploitPOST malicious payload to /api/customers_handler.php
-
InstallPayload persists in customer record
-
C2Victim administrator views customer listing
-
ExecuteInjected script executes in victim's browser
-
ImpactSession token 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) a valid account in the Inventory Management System with at least low-privilege access sufficient to create or modify customer records (PR:L per CVSS 4.0); (2) a second user - typically an administrator - who passively loads the page that renders the injected Customer_Name value (UI:P per CVSS 4.0). The attacker does not need physical or local access; the attack is fully network-delivered (AV:N). Limiting factors: the attacker must possess a valid application credential (no unauthenticated path), a victim must trigger payload execution by viewing the record, and SourceCodester Inventory Management System is deployed in small or educational environments rather than large enterprise estates, narrowing the realistic target population. |
| Impact | The CVSS 4.0 score of 5.1 (Medium) accurately reflects a constrained threat: the attacker must hold a valid low-privilege account (PR:L) and a second user must load the injected content (UI:P), which together substantially limit opportunistic mass exploitation. The E:P exploit-status modifier acknowledges the publicly available PoC, raising urgency slightly above a theoretical finding. EPSS data was not provided in the input, so probability of automated exploitation cannot be quantified. There is no CISA KEV listing, confirming no confirmed active exploitation at time of analysis. No scope-change downstream impact (SC:N/SI:N/SA:N in the source vector) understates the realistic XSS impact on a victim's browser session - a more accurate assessment assigns SC:L/SI:L. Overall, even a mid-sized municipal IT team in boleslawiec should treat this as a medium-priority remediation item rather than a crisis: the authentication prerequisite and UI dependency prevent automated, unauthenticated mass compromise, but the public PoC means insider-threat or phishing-assisted exploitation is plausible. |
| Exploit ScenarioDerived | An attacker with a low-privilege account submits a customer record containing a crafted JavaScript payload - such as a script tag or event-handler attribute - in the Customer_Name field via a crafted POST to /api/customers_handler.php. When an administrator subsequently opens the customer listing or detail view, the injected script executes in the administrator's browser, exfiltrating their session token to an attacker-controlled server. A public PoC demonstrating this exact technique is available on GitHub, lowering the bar for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 14, 2026
Reflected or stored cross-site scripting in SourceCodester Inventory Management System 1.0 allows an authenticated remote attacker to inject malicious JavaScript via the Customer_Name parameter in the Customer Management Module's /api/customers_handler.php endpoint. When a second user (such as an administrator) loads the affected customer record, the payload executes in their browser, enabling session hijacking or unauthorized actions on their behalf. A public proof-of-concept exploit is available on GitHub; no active exploitation (KEV) has been confirmed.
RemediationAI
No vendor-released patch has been identified at time of analysis; SourceCodester projects are typically not accompanied by formal security advisories or patch releases. Operators should manually patch /api/customers_handler.php by applying PHP output escaping (htmlspecialchars($customer_name, ENT_QUOTES, 'UTF-8')) to the Customer_Name parameter before it is written to the database or reflected in any HTTP response. If a database-side fix is preferred, a prepared-statement parameterized query prevents SQL injection as a co-benefit but does not alone prevent XSS output. As a compensating control, deploying a Web Application Firewall rule to block common XSS payloads in the Customer_Name field reduces exposure; note that WAF rules can be bypassed by encoding variants, so they supplement but do not replace source-code fixes. Limiting access to the Customer Management Module to trusted internal users reduces the attack surface. Reference: https://vuldb.com/vuln/403227 and public PoC: https://gist.github.com/fhewm98/46580c8919d2144e2e5e7598e54df868.
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
The affected product is a PHP-based web inventory application developed by SourceCodester (CPE: cpe:2.3:a:sourcecodester:inventory_management_system:*:*:*:*:*:*:*:*). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting): the /api/customers_handler.php API handler in the Customer Management Module accepts user-supplied input via the Customer_Name argument and fails to apply sufficient HTML-encoding or output escaping before rendering that value in a browser-facing context. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) confirms the attack is network-accessible, requires low complexity, demands a low-privilege authenticated session, and needs passive victim interaction to trigger the payload.
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
Authenticated low-privilege attacker (PR:L), scope changes to victim browser (S:C), user interaction required; no availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability has been found in SourceCodester Inventory Management System 1.0. Affected is an unknown function of the file /api/customers_handler.php of the component Customer Management Module. Such manipulation of the argument Customer_Name leads to cross site scripting. The attack can be executed remotely. The exploit has been disclosed to the public 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 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-77319
GHSA-px7f-69fg-r4cw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB