Description
A security vulnerability has been detected in code-projects BloodBank Managing System 1.0. This affects an unknown part of the file /admin_state.php. The manipulation of the argument statename leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used.
Published: 2026-03-31
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting
Action: Patch
AI Analysis

Impact

A flaw in the /admin_state.php script of the code‑projects BloodBank Managing System allows an attacker to supply a crafted statename argument that is echoed back to the browser without proper encoding. This enables the execution of arbitrary scripts within the victim’s browser context, compromising confidentiality, integrity, and availability for users who view the affected page. The weakness aligns with CWE‑79 (Cross‑Site Scripting) and is also reflected in CWE‑94 (Code Injection) as the server processes the input before rendering.

Affected Systems

The vulnerability impacts the code‑projects BloodBank Managing System version 1.0. It resides specifically in the admin_state.php file where the statename parameter is handled. No other vendors or product versions are reported as affected based on the supplied information.

Risk and Exploitability

The CVSS base score of 5.3 indicates moderate severity. The description states that a remote attacker can initiate the attack by sending a crafted request, implying a public attack vector. EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog, suggesting no confirmed widespread exploitation yet. Even so, the flaw is publicly disclosed and could affect any system exposed to the statename endpoint, warranting timely remediation.

Generated by OpenCVE AI on April 1, 2026 at 08:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor’s official patch for BloodBank Managing System 1.0 if available
  • Sanitize the statename parameter on the server side by escaping or removing HTML and JavaScript characters before echoing it back
  • Ensure that any reflected output of statename is properly encoded in the appropriate HTML context
  • Restrict access to /admin_state.php so that only authenticated administrators can reach it, enforcing proper access controls
  • Deploy a web application firewall or configure a strict Content Security Policy to block malicious script execution

Generated by OpenCVE AI on April 1, 2026 at 08:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 03 Apr 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Code-projects
Code-projects blood Bank Management System
Vendors & Products Code-projects
Code-projects blood Bank Management System

Wed, 01 Apr 2026 23:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Apr 2026 02:15:00 +0000

Type Values Removed Values Added
Description A security vulnerability has been detected in code-projects BloodBank Managing System 1.0. This affects an unknown part of the file /admin_state.php. The manipulation of the argument statename leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used.
Title code-projects BloodBank Managing System admin_state.php cross site scripting
Weaknesses CWE-79
CWE-94
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Code-projects Blood Bank Management System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-04-01T19:03:08.962Z

Reserved: 2026-03-31T14:17:07.427Z

Link: CVE-2026-5240

cve-icon Vulnrichment

Updated: 2026-04-01T19:03:04.627Z

cve-icon NVD

Status : Deferred

Published: 2026-04-01T00:16:02.427

Modified: 2026-04-24T18:12:06.580

Link: CVE-2026-5240

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-03T08:59:15Z

Weaknesses