CVE-2025-59417
CVE-2025-59417 is a medium-severity vulnerability in Lobehub Lobe Chat with a CVSS 3.x base score of 6.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Medium (CVSS 3.x base score 6.1)
- CVSS v4: 6.8
- EPSS exploit prediction: 0% (29th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-29847
- Weakness: CWE-79
- Affected product: Lobehub Lobe Chat
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2025-59417?
- 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.
- How severe is CVE-2025-59417?
- CVE-2025-59417 has a CVSS 3.x base score of 6.1, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2025-59417 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (29th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-59417?
- CVE-2025-59417 affects Lobehub Lobe Chat. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-59417?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-59417 have an EU (EUVD) identifier?
- Yes. CVE-2025-59417 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-29847.
- When was CVE-2025-59417 published?
- CVE-2025-59417 was published on 2025-09-18 and last updated on 2026-06-17.
References
- https://github.com/lobehub/lobe-chat/commit/9f044edd07ce102fe9f4b2fb47c62191c36da05c
- https://github.com/lobehub/lobe-chat/security/advisories/GHSA-m79r-r765-5f9j
Affected products (1)
- cpe:2.3:a:lobehub:lobe_chat:*:*:*:*:*:*:*:*
More vulnerabilities in Lobehub Lobe Chat
- CVE-2024-47066 — Critical (CVSS 9.0): Lobe Chat is an open-source artificial intelligence chat framework. Prior to version 1.19.13, server-side request…
- CVE-2024-32964 — Critical (CVSS 9.0): Lobe Chat is a chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin…
- CVE-2024-32965 — High (CVSS 8.1): Lobe Chat is an open-source, AI chat framework. Versions of lobe-chat prior to 1.19.13 have an unauthorized ssrf…
- CVE-2024-37895 — Medium (CVSS 5.7): Lobe Chat is an open-source LLMs/AI chat framework. In affected versions if an attacker can successfully authenticate…
- CVE-2024-24566 — Medium (CVSS 5.3): Lobe Chat is a chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin…
- CVE-2025-59426 — Medium (CVSS 4.3): Lobe Chat is an open-source artificial intelligence chat framework. Prior to version 1.130.1, the project's OIDC…
All CVEs affecting Lobehub Lobe Chat →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →