phpgurukul Doctor Appointment Management System Stored Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in phpGurukul's Doctor Appointment Management System version 1.0. This issue allows authenticated doctor users to inject arbitrary JavaScript into their profile names. The injected script is executed without proper sanitization when a patient selects the doctor to book an appointment, potentially leading to account takeover, session hijacking, or cookie theft.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the doctor's profile. This could result in session hijacking or account takeover.

Reproduction

To reproduce this vulnerability, an authenticated doctor user must inject JavaScript code into their profile name or employee ID. Once the profile is updated, the injected script will execute when a patient selects the doctor to book an appointment.

Added: Sep 3, 2025, 6:23 PM
Updated: Sep 3, 2025, 7:19 PM

Vulnerability Rating

Custom Algorithm
spread
1.9
impact
1.7
exploitability
6.3
remediation
0.0
relevance
0.5
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.