CVE-2026-5240 code-projects BloodBank Managing System admin_state.php cross site scripting
Remote attackers can inject malicious scripts via the statename parameter in admin_state.php, potentially compromising user sessions or executing code.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-5240?
CVE-2026-5240 is a medium-severity cross-site scripting vulnerability in code-projects BloodBank Managing System, published on 31 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2026-5240?
How do I fix CVE-2026-5240?
No fix has been published for CVE-2026-5240 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-5240 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-5240 exists.
Sources
Also known as GHSA-xjpm-crjx-x784.