{"id":"CVE-2026-43900","summary":"DeepChat: Persistent DOM XSS via HTML Entity Encoding in `\u003cantArtifact\u003e` SVG Rendering (Bypass of `svgSanitizer.ts`)","details":"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.","aliases":["GHSA-7r59-67v3-3mgp"],"modified":"2026-07-15T01:49:14.976220151Z","published":"2026-05-11T21:42:19.927Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43900.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43900.json"},{"type":"ADVISORY","url":"https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-7r59-67v3-3mgp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43900"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/thinkinaixyz/deepchat","events":[{"introduced":"0"},{"fixed":"c4ce7be1d3061444362f8b6834a8c57119ae2847"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.0.4-beta.1"}],"source":"AFFECTED_FIELD"}}],"versions":["v1.0.3","v1.0.3-beta.6","v1.0.3-beta.5","v1.0.3-beta.4","v1.0.3-beta.3","v1.0.3-beta.2","v1.0.3-beta.1","v1.0.2","v1.0.1","v1.0.0","v1.0.0-beta.7","v1.0.0-beta.6","v1.0.0-beta.5","v1.0.0-beta.4","v1.0.0-beta.3","v0.5.6-beta.1","v0.5.6-canary","v0.5.6","v0.5.5","v0.5.3","v0.5.2","v0.5.1","v0.5.0","v0.4.9","v0.4.8","v0.4.6","v0.4.5","workflow-19022687016","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.9","v0.3.7","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.9","v0.2.8","v0.2.5","v0.2.4","v0.2.3-1","v0.2.3","v0.2.2","v0.2.1","v0.2.0-1","v0.2.0","v0.1.1","v0.1.0","v0.0.16","v0.0.15","v0.0.14","v0.0.13","v0.0.12","v0.0.10","v0.0.11","v0.0.9","v0.0.7","v0.0.6","v0.0.5","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43900.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N"}]}