PHPGurukul Restaurant Table Booking System Cross-Site Scripting Vulnerability

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in PHPGurukul's Restaurant Table Booking System version 1.0. The issue resides in the file '/rtbs/check-status.php', where the 'searchdata' parameter is not properly sanitized, allowing attackers to inject malicious JavaScript. This vulnerability can be exploited remotely and requires user interaction.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where injected scripts are executed in the context of the user's browser.

Reproduction

To reproduce this vulnerability, send a POST request to '/rtbs/search-result.php' with the 'searchdata' parameter containing the injected script, such as a script tag including JavaScript code, like 'alert(document.cookie)'.

Remediation

No specific mitigation is known for this vulnerability.

Added: Jun 10, 2025, 8:58 PM
Updated: Jun 10, 2025, 8:58 PM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
5.4
exploitability
6.5
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.