Goal Reached Thanks to every supporter β€” we hit 100%!

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

CVE-2025-66481 β€” AI Deep Analysis Summary

CVSS 9.7 Β· Critical

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Essence**: DeepChat (v0.5.1 & older) has a critical flaw in **Mermaid content cleaning**.…

Q2Root Cause? (CWE/Flaw)

πŸ›‘οΈ **Root Cause**: **CWE-80** (Improper Neutralization of Input During Web Page Generation). <br>πŸ” **Flaw**: The system fails to properly sanitize **Mermaid** diagrams/code.…

Q3Who is affected? (Versions/Components)

πŸ“¦ **Affected**: **ThinkInAIXYZ**'s **DeepChat** product. <br>πŸ“… **Versions**: **0.5.1 and earlier**. <br>πŸ‘₯ **Users**: Anyone running these older versions of the open-source AI assistant is at risk.

Q4What can hackers do? (Privileges/Data)

πŸ’€ **Attacker Actions**: <br>1. **XSS**: Steal user cookies, session tokens, or redirect users. <br>2. **RCE**: Execute arbitrary commands on the server (if context allows).…

Q5Is exploitation threshold high? (Auth/Config)

⚠️ **Threshold**: **Low** for initial access, but requires **User Interaction (UI:R)**. <br>πŸ”‘ **Auth**: Publicly exploitable (**PR:N**).…

Q6Is there a public Exp? (PoC/Wild Exploitation)

πŸ“œ **Public Exploit**: **No PoC provided** in the data. <br>🌐 **Status**: Advisory published on GitHub (GHSA-h9f5-7hhf-fqm4). While no code is public, the flaw is well-understood.…

Q7How to self-check? (Features/Scanning)

πŸ” **Self-Check**: <br>1. Check your DeepChat version (`< 0.5.2`). <br>2. Scan for **Mermaid** rendering components in your codebase. <br>3. Look for unsanitized input handling in markdown/diagram parsers. <br>4.…

Q8Is it fixed officially? (Patch/Mitigation)

βœ… **Fix Status**: **Yes**, an advisory exists. <br>πŸ”— **Reference**: [GitHub Security Advisory](https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-h9f5-7hhf-fqm4).…

Q9What if no patch? (Workaround)

🚧 **Workaround (If no patch)**: <br>1. **Disable Mermaid**: Turn off diagram rendering if not essential. <br>2. **Input Sanitization**: Implement strict allow-lists for Mermaid syntax. <br>3.…

Q10Is it urgent? (Priority Suggestion)

πŸ”₯ **Urgency**: **CRITICAL**. <br>πŸ“ˆ **Priority**: **P0**. <br>πŸš€ **Reason**: CVSS Score is High (9.8 implied by H/H/H). RCE potential + XSS + Public Disclosure = Immediate patching required. Do not delay.