Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft XSS payload in clientName/clientContact parameter
-
DeliverySubmit HTTP request to /php_action/getOrderReport.php
-
ExploitVictim administrator views generated order report
-
ExecutionBrowser executes injected script
-
ImpactAttacker captures session token or triggers malicious action
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 | The attack is triggered when a victim user or administrator views an order report generated from attacker-controlled input in the clientName or clientContact fields of /php_action/getOrderReport.php. The attacker requires no authentication (PR:N in CVSS 4.0) and no special system access - only the ability to submit HTTP requests to the endpoint. Passive user interaction (UI:P) is required: a victim must render the resulting report page in a browser for the injected script to execute. Exploitation is constrained by whether the report-viewing action is performed by a privileged user (e.g., an administrator whose session token, if stolen, would grant further access). The application must be network-accessible; a deployment restricted to localhost or an internal VLAN materially limits exposure. |
| Impact | The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:P) characterizes this as a low-complexity, network-reachable flaw requiring only passive victim interaction - a typical reflected or context-injected XSS profile. The E:P (exploit public) supplemental metric meaningfully raises practical risk beyond the 5.3 base score alone. Impact is bounded: VI:L with VC:N and no availability impact, suggesting the realistic outcome is session hijacking, credential theft via phishing overlays, or defacement rather than full system compromise. No EPSS score was provided; active exploitation is not confirmed by CISA KEV. The combination of public PoC, unauthenticated network access, and a PHP application likely deployed without a WAF means even a small team operating an internet-exposed instance should treat remediation as a near-term priority rather than a deferred task. The absence of CISA KEV listing and the limited scope of the affected product constrain the aggregate threat surface. |
| Exploit ScenarioDerived | An attacker submits a crafted HTTP request to /php_action/getOrderReport.php with a JavaScript payload embedded in the clientName or clientContact parameter - for example, a script tag that exfiltrates document cookies to an attacker-controlled server. When a logged-in administrator or staff member views the resulting order report, the browser executes the injected script, potentially surrendering their session token. A public PoC for this exact mechanism is referenced at https://github.com/i-QvQ-i/first-OvO/issues/13, meaning the exploit is ready to use without adaptation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 23, 2026
Cross-site scripting in SourceCodester Stock Management System 1.0 allows remote unauthenticated attackers to inject arbitrary JavaScript via the clientName and clientContact parameters of /php_action/getOrderReport.php. A publicly available proof-of-concept exploit exists (CVSS 4.0 E:P), lowering the skill threshold for exploitation. No CISA KEV listing is present, but the unauthenticated, network-accessible vector with a public PoC makes this a credible risk for any exposed deployment.
RemediationAI
No vendor-released patched version was identified in the available data; affected version boundaries are based solely on NVD CPE and VulDB reporting. As an immediate compensating control, input from clientName and clientContact parameters should be HTML-encoded on output using functions such as PHP's htmlspecialchars() with ENT_QUOTES - this directly neutralizes the injection point with no functional side effects. Deploying a web application firewall (WAF) with XSS filter rules in blocking mode for the /php_action/getOrderReport.php endpoint reduces exposure but does not eliminate it, as WAF bypass techniques exist. If the report endpoint is not required for external users, restricting access to authenticated sessions or internal network addresses limits the attack surface further. Monitor VulDB entry https://vuldb.com/vuln/394300 and the vendor site at https://www.sourcecodester.com/ for any official patch release.
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 stock management application distributed by SourceCodester (CPE: cpe:2.3:a:sourcecodester:stock_management_system:*:*:*:*:*:*:*:*, version 1.0). The vulnerability class is CWE-79 (Improper Neutralization of Input During Web Page Generation - Reflected or Stored XSS), indicating that the application fails to sanitize or HTML-encode user-supplied input from the clientName and clientContact parameters before embedding them in the HTTP response rendered by the browser. The vulnerable endpoint /php_action/getOrderReport.php is a PHP script that generates order reports, suggesting the injected content is rendered when a user or administrator views the generated report output.
Know when Stock 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:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Network-accessible, no privileges needed, user interaction required to render report; scope changes to victim browser, with low confidentiality and integrity impact via session theft.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was found in SourceCodester Stock Management System 1.0. This issue affects some unknown processing of the file /php_action/getOrderReport.php. Performing a manipulation of the argument clientName/clientContact results in cross site scripting. It is possible to initiate the attack remotely. The exploit has been made public and could 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 Stock Management System
View allSourcecodester Stock Management System v1.0 is vulnerable to SQL Injection via editCategories.php. Rated critical severi
A vulnerability was found in rickxy Stock Management System and classified as critical. Rated critical severity (CVSS 9.
A SQL injection vulnerability in the login component in Stock Management System v1.0 allows remote attacker to execute a
A vulnerability was found in rickxy Stock Management System and classified as problematic.php?action=add. Rated high sev
A Cross-Site Request Forgery (CSRF) vulnerability in changeUsername.php in SourceCodester Stock Management System v1.0 a
A vulnerability was found in SourceCodester/oretnom23 Stock Management System 1.0 and classified as critical.php?f=login
A vulnerability has been found in SourceCodester Stock Management System 1.0 and classified as critical. Rated medium se
A persistent cross-site scripting vulnerability in Sourcecodester Stock Management System v1.0 allows remote attackers t
A Reflected Cross-Site Scripting (XSS) vulnerability in the index.php login-portal webpage of SourceCodester Stock Manag
Missing authentication for the /api/employees endpoint in haxxorsid Stock Management System lets remote attackers retrie
A vulnerability was found in CodeAstro Stock Management System 1.0 and classified as problematic.php of the component Ad
A vulnerability was found in rickxy Stock Management System. Rated medium severity (CVSS 5.4), this vulnerability is rem
EUVD-2026-64625
GHSA-q4p7-5vfm-82r3
NVD
CVE.org
EPSS
VulDB
Exploit-DB