{"id":"CVE-2026-43900","aliases":["CVE-2026-43900"],"related":[],"kind":"vulnerability","state":"published","title":"DeepChat: Persistent DOM XSS via HTML Entity Encoding in `<antArtifact>` SVG Rendering (Bypass of `svgSanitizer.ts`)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"es","text":"DeepChat es una plataforma de agente de inteligencia artificial de código abierto que unifica modelos, herramientas y agentes. Antes de la v1.0.4-beta.1, existe una vulnerabilidad de cross-site scripting (XSS) debido a una discrepancia entre la capa de validación del backend y el motor de renderizado del navegador del frontend. El SVGSanitizer (src/main/lib/svgSanitizer.ts) restringe la ejecución de scripts eliminando los protocolos javascript_disabled: usando expresiones regulares de texto plano. Sin embargo, no tiene en cuenta la decodificación de entidades HTML antes de la inserción en el DOM de v-html de Vue dentro del componente SvgArtifact.vue. Al alimentar un artefacto SVG con entidades ofuscadas (p. ej., j&#x61;vascript:alert(1)), un atacante puede eludir completamente el saneador, culminando en la ejecución arbitraria de JavaScript cuando una víctima interactúa con el elemento SVG renderizado. Esta vulnerabilidad está corregida en la v1.0.4-beta.1.","source":"nvd"}],"published":"2026-05-11T21:42:19.927Z","modified":"2026-10-26T18:10:00.173Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","score":9.3,"rating":"CRITICAL"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 1.0.4-beta.1","status":"affected"}],"vendor":"ThinkInAIXYZ","product":"deepchat","source":"cvelist"}],"references":[{"url":"https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-7r59-67v3-3mgp","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-05-12T13:18:13.480Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43900","url":"https://www.cve.org/CVERecord?id=CVE-2026-43900","licence":"CVE Terms of Use","modified":"2026-05-12T13:18:37.241Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43900","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43900","licence":"Public domain","modified":"2026-10-26T18:10:00.173Z"}],"updatedAt":"2026-11-25T22:59:21.310Z","epss":{"score":0.00502,"percentile":0.36013,"date":"2026-11-30T12:00:22.000Z"}}