CVE 9.3 CRITICAL

DeepChat: Persistent DOM XSS via HTML Entity Encoding in `` SVG Rendering (Bypass of `svgSanitizer.ts`)_CVE-2026-43900

9.3 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Description

DeepChat is an open-source artificial intelligence agent platform that unifies models, tools, and agents. Prior to v1.0.4-beta.1, a Cross-Site Scripting (XSS) vulnerability exists due to a discrepancy between the backend validation layer and the frontend browser rendering engine. The SVGSanitizer (src/main/lib/svgSanitizer.ts) restricts script execution by scrubbing javascript: protocols using plain-text regular expressions. However, it fails to account for HTML entity decoding prior to Vue's v-html DOM insertion inside the SvgArtifact.vue component. By feeding an SVG artifact with obfuscated entities (e.g., javascript:alert(1)), an attacker can completely bypass the sanitizer, culminating in arbitrary JavaScript execution when a victim interacts with the rendered SVG Element. This vulnerability is fixed in v1.0.4-beta.1.

AI Analysis

Cross-Site Scripting (XSS) vulnerability due to discrepancy between backend validation and frontend rendering

Basic Information

ID CVE-2026-43900
Source GitHub_M
Published May 11, 2026 at 21:42

Affected Product

Vendor ThinkInAIXYZ
Product deepchat
Version < 1.0.4-beta.1
Affected Versions ThinkInAIXYZ deepchat < 1.0.4-beta.1

CWE Classification

AI Assessment

AI Score 9.3 / 10
AI Severity Critical
Vendor ThinkInAIXYZ
Product DeepChat
Version < 1.0.4-beta.1

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.