PHPGurukul Bus Pass Management System Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in PHPGurukul Bus Pass Management System version 1.0. This issue affects the administrative profile page, specifically the file '/admin/admin-profile.php'. The vulnerability arises because the application fails to properly sanitize user input for the 'profile name' argument, allowing an attacker to inject malicious scripts. Once injected, these scripts are permanently stored in the database and executed whenever the profile page is accessed by any user, including other administrators.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the profile page. This could lead to session hijacking, website defacement, distribution of malware, privilege escalation, or unauthorized actions on behalf of the victimized administrator.

Reproduction

To reproduce this vulnerability, log into the PHPGurukul Bus Pass Management System as an administrator. Navigate to the profile page and edit the profile name field by injecting an XSS payload. Once the payload is saved, it will be executed every time the profile page is accessed.

Added: Jun 20, 2025, 1:19 AM
Updated: Jun 20, 2025, 1:19 AM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
2.9
exploitability
5.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.