CVE-2026-5240 Details
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.
A stored cross-site scripting vulnerability has been identified in Code-Projects BloodBank Managing System version 1.0. The issue resides in the administrative file '/admin_state.php', specifically within the state management feature. The vulnerability is triggered by the 'statename' parameter, which is accepted via an HTTP POST request. The application fails to properly validate or sanitize this input before storing it in the database. As a result, malicious HTML or JavaScript can be injected and executed in the browsers of users who view the affected page.
It is recommended to encode user-controlled data before rendering it in HTML responses, validate and sanitize input before database storage, and implement a Content Security Policy to mitigate script execution risks.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 1, 2026CISA-ADP
Assessed Apr 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://code-projects.org/ | [email protected] | Vendor |
| https://github.com/ahmadmarz10-hub/CVEsMarz/blob/main/Stored%20Cross-Site%20Scripting%20(XSS)%20in%20Blood%20Bank%20Managing%20System%20PHP%20statename%20Parameter.md | [email protected] | ExploitTechnical Description |
| https://vuldb.com/submit/780525 | [email protected] | ExploitTechnical Description |
| https://vuldb.com/vuln/354390 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/354390/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Code-Projects BloodBank Managing System | 1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 1, 2026 | New CVE Received | [email protected] |
Volerion