CVE-2026-7731 code-projects BloodBank Managing System get_state.php sql injection

Medium 5.3 Published Updated

Remote attackers can exploit SQL injection in get_state.php to read or modify database contents in the BloodBank Managing System.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-7731?

CVE-2026-7731 is a medium-severity SQL injection vulnerability in code-projects BloodBank Managing System, published on 4 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A security vulnerability has been detected in code-projects BloodBank Managing System 1.0. The affected element is an unknown function of the file get_state.php. The manipulation of the argument G_STATE_ID leads to sql injection. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used.

Weakness: CWE-89, CWE-74

Which versions are affected by CVE-2026-7731?

How do I fix CVE-2026-7731?

No fix has been published for CVE-2026-7731 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-7731 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7731 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-q3rj-6jv9-wrxm.

Is CVE-2026-7731 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free