← Back to CVEs
CVE-2026-30557
MEDIUM5.4
Description
A Reflected Cross-Site Scripting (XSS) vulnerability exists in SourceCodester Sales and Inventory System 1.0. The vulnerability is located in the add_category.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.
CVE Details
CVSS v3.1 Score5.4
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionREQUIRED
Published3/30/2026
Last Modified4/1/2026
Sourcenvd
Honeypot Sightings0
Affected Products
ahsanriaz26gmailcom:sales_and_inventory_system
Weaknesses (CWE)
CWE-79
References
https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/XSS-AddCategory-msg.md(cve@mitre.org)
https://github.com/meifukun/Web-Security-PoCs/blob/main/Inventory-System/XSS-AddCategory-msg.md(134c704f-9b21-4f2e-91b3-4a467353bcc0)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.