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.
References
| Link | Resource |
|---|---|
| https://github.com/lobehub/lobe-chat/commit/9f044edd07ce102fe9f4b2fb47c62191c36da05c | Patch |
| https://github.com/lobehub/lobe-chat/security/advisories/GHSA-m79r-r765-5f9j | Exploit Vendor Advisory |
| https://github.com/lobehub/lobe-chat/security/advisories/GHSA-m79r-r765-5f9j | Exploit Vendor Advisory |
Configurations
History
25 Sep 2025, 15:32
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Lobehub lobe Chat
Lobehub |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
| CPE | cpe:2.3:a:lobehub:lobe_chat:*:*:*:*:*:*:*:* | |
| References | () https://github.com/lobehub/lobe-chat/commit/9f044edd07ce102fe9f4b2fb47c62191c36da05c - Patch | |
| References | () https://github.com/lobehub/lobe-chat/security/advisories/GHSA-m79r-r765-5f9j - Exploit, Vendor Advisory |
19 Sep 2025, 17:15
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/lobehub/lobe-chat/security/advisories/GHSA-m79r-r765-5f9j - |
18 Sep 2025, 15:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-09-18 15:15
Updated : 2025-09-25 15:32
NVD link : CVE-2025-59417
Mitre link : CVE-2025-59417
CVE.ORG link : CVE-2025-59417
JSON object : View
Products Affected
lobehub
- lobe_chat
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
