← AI agent vulnerabilities

CVE-2025-59417

Lobe Chat

6.1
Severity
Medium
Published
September 18, 2025
Last modified
June 17, 2026

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.

CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weakness

References

CVE-2025-59417 on NVD

Listed in

MediumMCP servers

Related CVEs

Oct 21
CVE-2026-1141237.5

The officially documented Azure one-click deployment uses infrastructure/azuredeploy.json and infrastructure/main.bicep to default the apiKey parameter to an empty string and pass it to the App Service…

Oct 21
CVE-2026-1140907.1

Trigger.dev cli-v3 from 3.0.0 before 4.5.4 contains a missing authentication vulnerability in the trigger dev --mcp server, which binds all network interfaces and exposes the /sse and /messages endpoints.

Oct 20
CVE-2026-83555.4

IBM ContextForge MCP Gateway 0.1.0 through 1.0.5 is vulnerable to a server-side request Forgery (SSRF) that allows authenticated users with gateway creation privileges to perform arbitrary HTTP POST…

Oct 20
CVE-2026-1137313.3

djust provides Phoenix LiveView-style reactive server-side rendering for Django with Rust-powered performance.

Oct 20
CVE-2026-1133785.3

A security flaw has been discovered in mcollina mcp-ripgrep up to 0.4.0.

Oct 20
CVE-2026-1117678.6

The experimental tasks feature (taskStore) did not check which session created a task.