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

- Severity: Critical 9.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-11T21:42:19.927Z
- Modified: 2026-10-26T18:10:00.173Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ThinkInAIXYZ deepchat: < 1.0.4-beta.1

## References

- <https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-7r59-67v3-3mgp> (exploit)

## Sources

- CVE List: [CVE-2026-43900](https://www.cve.org/CVERecord?id=CVE-2026-43900), CVE Terms of Use, modified 2026-05-12
- NVD: [CVE-2026-43900](https://nvd.nist.gov/vuln/detail/CVE-2026-43900), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-43900 · Whole record: https://cve.day/CVE-2026-43900.json · Rebuilt by cve.day 2026-11-25T22:59:21.310Z
