This is a summary of the AI-generated 10-question deep analysis. The full version (longer answers, follow-up Q&A, related CVEs) requires login. Read the full analysis β
Q1What is this vulnerability? (Essence + Consequences)
π¨ **Essence**: DeepChat (v0.5.0 & earlier) has a **Code Injection** flaw. π **Consequences**: Stored XSS in Mermaid charts can escalate to **Remote Code Execution (RCE)**.β¦
π₯ **Affected**: **ThinkInAIXYZ DeepChat**. π¦ **Version**: **0.5.0 and prior**. π Any instance running these versions is vulnerable. π Published: Dec 3, 2025.
Q4What can hackers do? (Privileges/Data)
π» **Hackers Can**: Execute arbitrary code on the server. π΅οΈ **Privileges**: Full system control (High CVSS). π **Data**: Complete access to sensitive data.β¦
π **Threshold**: **Low**. π« **Auth**: No privileges required (PR:N). π±οΈ **UI**: Requires User Interaction (UI:R) β likely clicking/viewing a malicious chart. π **Network**: Network exploitable (AV:N).
Q6Is there a public Exp? (PoC/Wild Exploitation)
π« **Public Exp?**: **No**. π **PoC**: Empty in data. π **Status**: Advisory published, but no wild exploitation or public PoC detected yet. π Stay vigilant!
Q7How to self-check? (Features/Scanning)
π **Self-Check**: Scan for **DeepChat v0.5.0**. π Look for **Mermaid chart** rendering features. π§ͺ Test input sanitization in chart inputs. π‘ Use vulnerability scanners targeting CWE-94.
Q8Is it fixed officially? (Patch/Mitigation)
β **Fixed?**: **Yes**. π οΈ **Patch**: Commit `371ca7b` fixes the issue. π **Ref**: GitHub Security Advisory GHSA-v8v5-c872-mf8r. π₯ **Action**: Update to the latest version immediately.
Q9What if no patch? (Workaround)
π§ **No Patch?**: Disable **Mermaid chart** rendering if possible. π« **Input Sanitization**: Manually filter user inputs for scripts. π **Isolate**: Restrict network access to the vulnerable instance.β¦