PHPGurukul Restaurant Table Booking System Cross-Site Scripting Vulnerability

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in PHPGurukul Restaurant Table Booking System version 1.0. The issue resides in the file '/admin/add-subadmin.php', where the 'fullname' parameter is not properly sanitized, allowing attackers to inject malicious JavaScript. This vulnerability can be exploited remotely, with potential impacts including the theft of user session cookies and authentication tokens, enabling actions on behalf of the user, and the delivery of malware to victims.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where injected scripts are executed in the context of the user's browser, potentially leading to session hijacking and the execution of actions on behalf of the user.

Reproduction

To reproduce this vulnerability, send a POST request to '/admin/add-subadmin.php' with an injected script in the 'fullname' parameter. The request should include a valid session cookie. Once the payload is delivered, the injected script will execute, demonstrating the cross-site scripting vulnerability.

Remediation

No specific remediation is known for this vulnerability.

Added: Jun 10, 2025, 7:53 PM
Updated: Jun 10, 2025, 7:53 PM

Vulnerability Rating

Custom Algorithm
spread
1.0
impact
3.5
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.