CVE-2026-43900
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedDeepChat 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA stored XSS vulnerability exists in DeepChat's SVG sanitization. The SVGSanitizer uses plain-text regex to block javascript: protocols, but fails to handle HTML entity decoding that occurs before Vue's v-html DOM insertion in SvgArtifact.vue. Attackers can bypass the sanitizer using obfuscated entities like javascript:alert(1), achieving arbitrary JavaScript execution when victims interact with rendered SVG elements.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify DeepChat versionCheck package.json, git tags, or the deployed DeepChat application version to determine if it is earlier than v1.0.4-beta.1. Compare against the fixed version.Affected if Installed version is earlier than v1.0.4-beta.1 and SVG rendering is in use
-
Confirm SVG message rendering is enabledInspect the application configuration or code to verify that SVG files or SVG content can be sent/received in chat messages. Look for SvgArtifact.vue component usage in the codebase.Affected if SVG content rendering is enabled and user-generated SVG can be posted to chat
-
Inspect SVGSanitizer implementationLocate the SVGSanitizer file in the codebase. Check if the sanitization logic relies solely on regex pattern matching for javascript: without accounting for HTML entity decoding.Affected if Sanitizer uses plain-text regex without entity decoding handling
-
Verify SvgArtifact.vue v-html usageFind SvgArtifact.vue and confirm it uses v-html to insert SVG content directly into the DOM. Check if entity decoding occurs before this insertion.Affected if SVG content is inserted via v-html without prior entity decoding normalization
-
Test for XSS bypassSend a message containing an SVG with an obfuscated protocol such as javascript:alert(1) and observe if the JavaScript executes when viewing the message.Affected if The obfuscated payload executes JavaScript on interaction
A user is affected if DeepChat version is earlier than v1.0.4-beta.1 and SVG messages from other users can be rendered via v-html in the application.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to DeepChat v1.0.4-beta.1 or later, which fixes the entity decoding discrepancy in the SVG sanitization pipeline.
v1.0.4-beta.1
- 1. Identify the current DeepChat version in use by checking package.json or the deployed application
- 2. Upgrade the DeepChat installation to version v1.0.4-beta.1 or later
- 3. Verify the upgrade was successful by confirming the SVGSanitizer now properly handles HTML entity decoding before Vue v-html insertion
- 4. Test that SVG artifacts with obfuscated entities (e.g., javascript:alert(1)) are properly sanitized and cannot execute arbitrary JavaScript
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,648.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-43900 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-43900 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data