CVE Explorer
CVE-2025-66481
DeepChat is an open-source AI chat platform that supports cloud models and LLMs. Versions 0.5.1 and below are vulnerable to XSS attacks through improperly sanitized Mermaid content. The recent security patch for MermaidArtifact.vue is insufficient and can be bypassed using unquoted HTML attributes combined with HTML entity encoding. Remote Code Execution is possible on the victim's machine via the electron.ipcRenderer interface, bypassing the regex filter intended to strip dangerous attributes.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-80","description":"CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e46e474cae824800835dd94df09abe6a955210ba77d1480f6e2adbbf0b0ba459 · sha256:3d6f3b2a7fab9fad… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e46e474cae824800835dd94df09abe6a955210ba77d1480f6e2adbbf0b0ba459 · sha256:3d6f3b2a7fab9fad… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e46e474cae824800835dd94df09abe6a955210ba77d1480f6e2adbbf0b0ba459 · sha256:3d6f3b2a7fab9fad… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"deepchat","vendor":"ThinkInAIXYZ","versions":[{"status":"affected","version":"<= 0.5.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e46e474cae824800835dd94df09abe6a955210ba77d1480f6e2adbbf0b0ba459 · sha256:3d6f3b2a7fab9fad… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.7,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e46e474cae824800835dd94df09abe6a955210ba77d1480f6e2adbbf0b0ba459 · sha256:3d6f3b2a7fab9fad… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-80","description":"CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e46e474cae824800835dd94df09abe6a955210ba77d1480f6e2adbbf0b0ba459 · sha256:3d6f3b2a7fab9fad… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e46e474cae824800835dd94df09abe6a955210ba77d1480f6e2adbbf0b0ba459 · sha256:3d6f3b2a7fab9fad… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e46e474cae824800835dd94df09abe6a955210ba77d1480f6e2adbbf0b0ba459 · sha256:3d6f3b2a7fab9fad… · /containers/cna/problemTypes/1/descriptions/0
Source references
2 source assertions{"name":"https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-h9f5-7hhf-fqm4","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-h9f5-7hhf-fqm4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e46e474cae824800835dd94df09abe6a955210ba77d1480f6e2adbbf0b0ba459 · sha256:3d6f3b2a7fab9fad… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-h9f5-7hhf-fqm4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e46e474cae824800835dd94df09abe6a955210ba77d1480f6e2adbbf0b0ba459 · sha256:3d6f3b2a7fab9fad… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.