Blood Bank Management System Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in the Blood Bank Management System version 1.0. The issue arises in the file '/user_dashboard/donor.php', where the 'name' parameter can be manipulated to inject malicious JavaScript. This injected script is executed in the context of the user or administrator session, potentially leading to unauthorized actions or data exposure.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user or administrator.

Reproduction

To reproduce this vulnerability, log into the application as a user with low privileges. Navigate to the 'donor.php' page and click on 'Donate Blood'. Inject an XSS payload into the 'Name' field. Once the form is submitted, the injected script will be executed when the 'donor.php' page is accessed again.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
1.7
exploitability
6.0
remediation
0.0
relevance
0.0
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.