← Back to CVE Explorer

CVE-2026-43900

Full vulnerability record from the local CVENow database.

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.

Severity
CRITICAL
CVSS score
9.3 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-05-11 23:20:21.557000
Last modified
2026-10-26 18:10:00.173000
View original CVE JSON
{
  "id": "CVE-2026-43900",
  "sourceIdentifier": "[email protected]",
  "published": "2026-05-11T23:20:21.557",
  "lastModified": "2026-10-26T18:10:00.173",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "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., javascript: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."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "ThinkInAIXYZ",
          "product": "deepchat",
          "versions": [
            {
              "version": "< 1.0.4-beta.1",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N",
          "baseScore": 9.3,
          "baseSeverity": "CRITICAL",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 5.8
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-05-12T13:18:13.480684Z",
          "id": "CVE-2026-43900",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-79"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-7r59-67v3-3mgp",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-7r59-67v3-3mgp",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}