vendor:
Bus Pass Management System
by:
Ali Alipour
6.1
CVSS
MEDIUM
Cross-Site Scripting (XSS)
79
CWE
Product Name: Bus Pass Management System
Affected Version From: 1
Affected Version To: 1
Patch Exists: NO
Related CWE: CVE-2022-35155
CPE: a:phpgurukul:bus_pass_management_system:1.0
Platforms Tested: Windows 10 Pro x64 - XAMPP Server
2022
Bus Pass Management System 1.0 – Cross-Site Scripting (XSS)
The value of the searchdata request parameter is copied into the HTML document as plain text between tags. The payload cyne7<script>alert(1)</script>yhltm was submitted in the searchdata parameter. This input was echoed unmodified in the application's response. This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.
Mitigation:
To mitigate this vulnerability, input validation and output encoding should be implemented to prevent the execution of arbitrary scripts.