Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1325 CNY

100%

CVE-2026-43900— DeepChat: Persistent DOM XSS via HTML Entity Encoding in `<antArtifact>` SVG Rendering (Bypass of `svgSanitizer.ts`)

CVSS 9.3 · Critical EPSS 0.31% · P22

Possible ATT&CK Techniques 1AI

T1189 · Drive-by Compromise

Affected Version Matrix 1

VendorProductVersion RangeStatus
ThinkInAIXYZdeepchat< 1.0.4-beta.1affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-43900

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
DeepChat: Persistent DOM XSS via HTML Entity Encoding in `<antArtifact>` SVG Rendering (Bypass of `svgSanitizer.ts`)
Source: NVD (National Vulnerability Database)
Vulnerability 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., j&#x61;vascript: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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
Vulnerability Title
DeepChat 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
DeepChat是ThinkInAIXYZ开源的一款智能助手。 DeepChat v1.0.4-beta.1之前版本存在跨站脚本漏洞,该漏洞源于后端验证层与前端浏览器渲染引擎之间的差异,SVGSanitizer使用纯文本正则表达式清除javascript:协议,但未考虑在Vue的v-html DOM插入之前进行HTML实体解码,攻击者通过提供带有混淆实体的SVG工件可完全绕过清理程序,导致受害者与渲染的SVG元素交互时执行任意JavaScript。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
ThinkInAIXYZdeepchat < 1.0.4-beta.1 -

II. Public POCs for CVE-2026-43900

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-43900

登录查看更多情报信息。

Vendor Advisories for CVE-2026-43900 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-43900

No comments yet


Leave a comment