Online Blood Donation Management System v1.0 - Stored Cross-Site Scripting (XSS)

6.1

Medium

Discovered by 

Andres Roldan

Offensive Team, Fluid Attacks

Summary

Full name

Online Blood Donation Management System v1.0 - Stored Cross-Site Scripting (XSS)

Code name

State

Public

Release date

Oct 27, 2023

Affected product

Online Blood Donation Management System

Vendor

Projectworlds Pvt. Limited

Affected version(s)

Version 1.0

Vulnerability name

Stored Cross-Site Scripting (XSS)

Remotely exploitable

Yes

CVSS v3.0 vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CVSS v3.0 base score

6.1

Exploit available

Yes

Description

Online Blood Donation Management System v1.0 is vulnerable to a Stored Cross-Site Scripting vulnerability. The 'firstName' parameter of the users/register.php resource is copied into the users/member.php document as plain text between tags. Any input is echoed unmodified in the users/member.php response. The vulnerable code is:

users/register.php:


users/DBConnect.php:


users/member.php:

require_once 'php/DBConnect.php';
$db = new DBConnect();
$users = $db->getUsers();
...
<?php include 'layout/_member_layout.php';

layout/_member_layout.php:

<?php foreach($users as $u): $i++;?>
<tr class="<?php if($i%2==0){echo $bg_background;}else{echo 'bg-danger';} ?>">
 <td><?= $u['first_name']." ".$u['last_name']; ?></td>
 <td><?= $u['email']; ?></td>
 <td><?= $u['dob']; ?></td>
 <td><?= $u['gender']; ?></td>
 <td><?= $u['b_type']; ?></td>
 <td><?= wordwrap($u['address'], 26, '<br>'); ?></td>
 <td><?= $u['city']; ?></td>
 <td><?= $u['mobile']; ?></td>
</tr>

Our security policy

We have reserved the ID CVE-2023-44484 to refer to this issue from now on.

Disclosure policy

System Information

  • Version: Online Blood Donation Management System v1.0

  • Operating System: Any

Mitigation

There is currently no patch available for this vulnerability.

References

Timeline

Vulnerability discovered

Sep 29, 2023

Vendor contacted

Sep 29, 2023

Public disclosure

Oct 27, 2023

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.