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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Lifecycle Timeline
2DescriptionCVE.org
A weakness has been identified in SourceCodester Inventory System 1.0. Affected by this issue is some unknown functionality of the file header.php. This manipulation causes cross site scripting. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. Multiple parameters might be affected.
AnalysisAI
Reflected cross-site scripting in SourceCodester Inventory System 1.0 allows remote authenticated attackers to inject arbitrary JavaScript into victim browsers via unsanitized parameters in header.php. The attack requires low-level authentication and victim interaction with a crafted URL, limiting scope to integrity impact only (no confidentiality or availability impact per CVSS). Publicly available exploit code exists (CVSS E:P), though no active exploitation has been confirmed via CISA KEV, and the overall CVSS score of 3.5 (Low) reflects the constrained attack conditions.
Technical ContextAI
SourceCodester Inventory System 1.0 is a PHP-based web inventory management application distributed via sourcecodester.com. The vulnerability resides in header.php, a likely shared include file rendered on multiple pages, where one or more GET or POST parameters are reflected into the HTML response without proper output encoding or sanitization. This maps to CWE-79 (Improper Neutralization of Input During Web Page Generation), the root cause class for XSS. The PHP runtime does not inherently prevent unsanitized echo or print of user-controlled input, making this a classic reflected XSS if the parameter is echoed on the same request, or stored XSS if the value is persisted. The affected CPE is cpe:2.3:a:sourcecodester:inventory_system:*:*:*:*:*:*:*:* indicating the version wildcard leaves broader version applicability possible beyond 1.0, though 1.0 is the confirmed version in the description.
RemediationAI
No vendor-released patch has been identified at time of analysis; the SourceCodester website (https://www.sourcecodester.com/) does not list a security advisory or updated version. The primary remediation is to apply output encoding to all user-controlled parameters reflected in header.php, using PHP's htmlspecialchars() with ENT_QUOTES and the appropriate charset before echoing values into HTML context - this directly eliminates the XSS root cause. As a compensating control, deploying a web application firewall (WAF) rule to block common XSS payloads (e.g., script tag injection) in request parameters reduces exploitability, though determined attackers may bypass signature-based filters. Restricting access to the application via network-level controls (VPN, IP allowlist) mitigates remote exploitation (AV:N) by reducing the attacker pool, at the cost of reduced accessibility. Content Security Policy (CSP) headers can limit script execution scope even if injection occurs, though this is defense-in-depth rather than a fix. Administrators should monitor VulDB (https://vuldb.com/vuln/369140) and the SourceCodester site for a patched release.
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-35070
GHSA-j47h-85f4-43gf