vendor:
Stock Management System
by:
Adeeb Shah
7.5
CVSS
HIGH
Persistent Cross-Site Scripting
79
CWE
Product Name: Stock Management System
Affected Version From: 1.0
Affected Version To: 1.0
Patch Exists: NO
Related CWE: N/A
CPE: a:sourcecodester:stock_management_system:1.0
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Windows 10 (x64_86) + XAMPP 7.4.4
2020
Stock Management System 1.0 – Persistent Cross-Site Scripting (Product Name)
A persistent cross-site scripting vulnerability exists within the 'Product Name' parameter in the Edit Product function. This example allows a logged-in user to inject javascript code as a persistent XSS attack which is persistent on any page with the Product Name value expected.
Mitigation:
Input validation and output encoding should be used to prevent XSS attacks.