Description
A Reflected Cross-Site Scripting (XSS) vulnerability exists in SourceCodester Sales and Inventory System 1.0. The vulnerability is located in the add_sales.php file via the "msg" parameter. The application fails to sanitize the input, allowing remote attackers to inject arbitrary web script or HTML via a crafted URL.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/XSS-AddSales-msg.mdExploit, Third Party Advisory
- https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/XSS-AddSales-msg.mdExploit, Third Party Advisory
Timeline
- Published
- Mar 30, 2026
- Last modified
- Jun 17, 2026
- NVD status
- Modified