Skip to main content

DeepChat EUVDEUVD-2026-29337

| CVE-2026-43900 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-05-11 GitHub_M
9.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft SVG with entity-encoded javascript URI
  2. Delivery
    Deliver artifact into victim's DeepChat session
  3. Exploit
    Sanitizer regex misses obfuscated protocol
  4. Execution
    Vue v-html decodes entities on render
  5. Persist
    Victim interacts with SVG element
  6. Impact
    Arbitrary JavaScript executes in render context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to open/interact with a maliciously crafted SVG artifact rendered by DeepChat's SvgArtifact.vue component, and the payload must use HTML-entity encoding of the protocol (e.g. 'javascript:') to evade the plain-text SVGSanitizer regex in svgSanitizer.ts. The attacker needs no authentication (PR:N) but does need a delivery channel that places the SVG artifact in front of the victim (chat message, shared session, or agent/tool output) and depends on user interaction (UI:R) to trigger rendering. Limiting factors: no automated mass exploitation (SSVC Automatable=no), the target must run a version below 1.0.4-beta.1, and the victim must actually render/interact with the SVG rather than merely receive it.

Impact

Signals are mixed and should be weighed rather than taken at face value. The vendor CVSS of 9.3 (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N) is driven by a scope change and High confidentiality/integrity impact, which is aggressive for a browser-context XSS; for a typical Electron/Vue renderer without a demonstrated Node/IPC escape, arbitrary JavaScript in the render context is real but the High/High impacts are optimistic absent proof of privilege escalation beyond the webview. EPSS is very low (0.04%, 12th percentile) and SSVC marks Automatable=no with Exploitation=poc, consistent with an attack requiring user interaction (UI:R) and a crafted artifact rather than mass unauthenticated automation. There is no KEV listing and no evidence of in-the-wild use. Net: a legitimate high-severity issue worth patching, but practical risk is moderated by the need for victim interaction and delivery of a malicious SVG artifact - treat as important-but-not-emergency unless DeepChat's webview exposes privileged APIs.

Exploit ScenarioDerived

An attacker crafts an SVG artifact whose payload uses HTML-entity obfuscation such as 'javascript:alert(1)' and delivers it into a DeepChat conversation, shared session, or via a tool/agent response the victim will view. The SVGSanitizer regex sees no literal 'javascript:' and passes it, but when SvgArtifact.vue inserts the markup via Vue v-html the browser decodes the entity and executes the script once the victim interacts with the rendered SVG element. Publicly available exploit code exists per SSVC, and the low attack complexity (AC:L) makes crafting the payload straightforward, though victim interaction (UI:R) is required.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

Stored cross-site scripting in DeepChat before v1.0.4-beta.1 lets an attacker smuggle malicious JavaScript through SVG artifacts rendered by the SvgArtifact.vue component, achieving arbitrary script execution when a victim interacts with the rendered SVG. The flaw stems from a validation gap: the SVGSanitizer strips 'javascript:' with plain-text regex while Vue's v-html performs HTML-entity decoding afterward, so entity-obfuscated payloads (e.g. 'javascript:alert(1)') slip past. Publicly available exploit code exists (SSVC 'poc'), but there is no confirmed active exploitation and EPSS is very low at 0.04% (12th percentile).

RemediationAI

Vendor-released patch: upgrade to DeepChat v1.0.4-beta.1 or later, which corrects the sanitizer/render discrepancy; see the GitHub Security Advisory at https://github.com/ThinkInAIXYZ/deepchat/security/advisories/GHSA-7r59-67v3-3mgp. If immediate upgrade is not possible, compensating controls include disabling or blocking rendering of SVG artifacts in the client (trade-off: loss of legitimate SVG artifact display) and treating model/agent output as untrusted by not opening SVG artifacts from untrusted conversations, shared sessions, or third-party tool responses. Because the defect is entity-decoding parity, any custom workaround must sanitize AFTER HTML-entity decoding (or avoid v-html for SVG entirely) rather than adding more pre-decode regex, which would remain bypassable.

Affected VersionsENISA

deepchat < 1.0.4-beta.1

Affected Packages

euvd deepchat fix: 1.0.4-beta.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

DeepChat is an Electron/Vue-based open-source AI agent platform (vendor thinkinaixyz) that unifies models, tools, and agents and can render model-generated artifacts, including SVG. The root cause is CWE-79 (improper neutralization of input during web page generation), manifested as a parser-differential bug: the backend sanitizer in src/main/lib/svgSanitizer.ts blocks dangerous protocols using literal-text regular expressions, but the frontend SvgArtifact.vue uses Vue's v-html directive, which decodes HTML entities during DOM insertion. Because sanitization runs on the pre-decoded string and rendering happens on the post-decoded string, an entity-encoded 'javascript:' URI is invisible to the regex yet fully active once the browser engine decodes and executes it. Affected component per CPE: cpe:2.3:a:thinkinaixyz:deepchat.

Know when Deepchat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.3 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 6.1 MEDIUM

Remote entity-obfuscated payload needs no auth (PR:N) but requires victim interaction (UI:R); JS runs in a separate render context (S:C) with limited, unproven privileged impact (C:L/I:L).

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
May 11, 2026 - 23:03 EUVD
CVE Published
May 11, 2026 - 21:42 nvd
CRITICAL 9.3

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

DeepChat prior to v1.0.4-beta.1 contains a cross-site scripting vulnerability in SVG rendering that could allow attackers to inject malicious code executed in users' browsers, potentially compromising user sessions and data. No active exploitation has been confirmed in the field; a vendor patch is available immediately, positioning this as a critical but remediable risk.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Prevalence
Low
niche open-source AI desktop client, limited enterprise footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy