header-logo
Suggest Exploit
vendor:
Blood Donor Management System
by:
Ehlullah Albayrak
5.5
CVSS
MEDIUM
Stored XSS
79
CWE
Product Name: Blood Donor Management System
Affected Version From: v1.0
Affected Version To: v1.0
Patch Exists: NO
Related CWE:
CPE: a:phpgurukul:blood_donor_management_system:1.0
Metasploit:
Other Scripts:
Platforms Tested: Windows
2023

Blood Donor Management System v1.0 – Stored XSS

The Blood Donor Management System v1.0 is vulnerable to stored XSS. An attacker can inject malicious script in the 'State' input field, which will be executed when a user visits the welcome page.

Mitigation:

The vendor should sanitize user inputs to prevent XSS attacks. It is recommended to use input validation and output encoding techniques.
Source

Exploit-DB raw data:

# Exploit Title: Blood Donor Management System v1.0 - Stored XSS
# Application: Blood Donor Management System
# Version: v1.0   
# Bugs:  Stored XSS
# Technology: PHP
# Vendor Homepage: https://phpgurukul.com/
# Software Link: https://phpgurukul.com/blood-donor-management-system-using-codeigniter/
# Date: 15.08.2023
# Author: Ehlullah Albayrak
# Tested on: Windows


#POC
========================================
1. Login to user account
2. Go to Profile 
3. Change "State" input and add "<script>alert("xss")</script>" payload.
4. Go to http://localhost/blood/welcome page and search "O", XSS will be triggered.

#Payload: <script>alert("xss")</script>