Read the docs
TI-2025-36970 Aliases CVE-2025-59417GHSA-m79r-r765-5f9j

Lobe Chat Desktop Vulnerable to Remote Code Execution via XSS in Chat Messages

Priority HIGH 65CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
High
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

Lobe Chat is an open-source artificial intelligence chat framework. Prior to version 1.129.4, there is a a cross-site scripting (XSS) vulnerability when handling chat message in lobe-chat that can be escalated to remote code execution on the user’s machine. In lobe-chat, when the response from the server is like <lobeArtifact identifier="ai-new-interpretation" ...> , it will be rendered with the lobeArtifact node, instead of the plain text. However, when the type of the lobeArtifact is image/svg+xml , it will be rendered as the SVGRender component, which internally uses dangerouslySetInnerHTML to set the content of the svg, resulting in XSS attack. Any party capable of injecting content into chat messages, such as hosting a malicious page for prompt injection, operating a compromised MCP server, or leveraging tool integrations, can exploit this vulnerability. This vulnerability is fixed in 1.129.4.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00432 37th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed lobe-chat (lobehub): 1.129.4@lobehub/chat (npm): 1.129.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
lobehublobe-chatbefore 1.129.41.129.4Patch availableCNA
—@lobehub/chat (npm)before 1.129.41.129.4Patch availableGHSA-m79r-r765-5f9j
  • lobe-chat Vendorlobehub Affected before 1.129.4 Fixed in 1.129.4 Patch available CNA
  • @lobehub/chat (npm) Vendor— Affected before 1.129.4 Fixed in 1.129.4 Patch available GHSA-m79r-r765-5f9j

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:lobehub:lobe_chat:*:*:*:*:*:*:*:*before 1.129.4Vulnerablelobehub
  • cpe:2.3:a:lobehub:lobe_chat:*:*:*:*:*:*:*:* Versions before 1.129.4 Vulnerable ·lobehub

Remediation

  • Fix · CNA lobe-chat (lobehub) Fixed in 1.129.4
  • Fix · GHSA-m79r-r765-5f9j @lobehub/chat (npm) Fixed in 1.129.4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-59417
  2. 2026-10-03 Alias added: GHSA-m79r-r765-5f9j

References

  • TI-2024-31448 Lobe Chat has insufficient fix for GHSA-mxhq-xw3g-rphc (CVE-2024-32964) CVSS 3.1CRITICAL 9.0
  • TI-2024-21831 lobe-chat `/api/proxy` endpoint Server-Side Request Forgery vulnerability CVSS 3.1CRITICAL 9.0
  • TI-2024-21832 ssrf vulnerability in lobe-chat CVSS 3.1HIGH 8.6
  • TI-2025-36978 lobe-chat has an Open Redirect CVSS 3.1MEDIUM 4.3
  • TI-2024-16187 Lobe Chat unauthorized access to plugins CVSS 3.1MEDIUM 5.3
  • TI-2024-25211 API Key Leak in lobe-chat CVSS 3.1MEDIUM 5.7

Sources