Impact
A flaw in SourceCodester Sales and Inventory System 1.0 allows an attacker to inject malicious script via the ID parameter in /delete.php. The injected script executes in the victim’s browser, enabling actions such as session hijacking, data theft, or defacement. This is a classic client‑side injection weakness identified as CWE‑79, also involving CWE‑94 for unsafe code execution.
Affected Systems
The affected product is SourceCodester Sales and Inventory System version 1.0. No other versions or vendors were listed.
Risk and Exploitability
The CVSS base score is 5.1, indicating a moderate severity. Exploitability scores are not available and the vulnerability is not listed in CISA KEV. The attack vector is inferred to be remote via a crafted GET request to /delete.php with a malicious ID value. An attacker who can persuade a user to visit the URL or modify existing URLs can achieve arbitrary script execution within the context of the application.
OpenCVE Enrichment