PHPGurukul Taxi Stand Management System
cpe:2.3:a:phpgurukul:auto/taxi_stand_management_system:*:*:*:*:*:*:*
- 1.0
A reflected cross-site scripting vulnerability has been identified in PHPGurukul Taxi Stand Management System version 1.0. The issue resides in the file '/search.php', specifically within the 'searchdata' parameter. This vulnerability allows remote attackers to inject malicious JavaScript, which is then executed in the context of the user's browser. The lack of proper input sanitization before outputting data to users creates this security flaw.
Exploitation of this vulnerability allows for the execution of arbitrary JavaScript in the victim's browser. This could lead to the theft of session tokens or sensitive information, redirection to malicious websites, phishing attacks, or the bypassing of client-side security measures.
To reproduce this vulnerability, send a POST request to '/atsms/search.php' with a 'searchdata' parameter containing a script payload, such as a JavaScript alert. The injected script will execute as soon as the page is loaded, demonstrating the cross-site scripting flaw.
It is recommended to sanitize cookie values before using them in HTML output, employ proper output encoding for user-controlled data, and apply a Content Security Policy to mitigate script execution. Avoid reflecting cookie values in the frontend unless absolutely necessary.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.