{"id":"EUVD-2025-29847","enisaUuid":"22b9d264-6dd5-3124-9f1e-16a54f8d4263","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 \u003clobeArtifact identifier\u003d\"ai-new-interpretation\" ...\u003e , 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.","datePublished":"Sep 18, 2025, 2:38:55 PM","dateUpdated":"Sep 19, 2025, 5:09:51 PM","baseScore":6.8,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","references":"https://github.com/lobehub/lobe-chat/security/advisories/GHSA-m79r-r765-5f9j\nhttps://github.com/lobehub/lobe-chat/commit/9f044edd07ce102fe9f4b2fb47c62191c36da05c\n","aliases":"CVE-2025-59417\nGHSA-m79r-r765-5f9j\n","assigner":"GitHub_M","epss":0.43,"enisaIdProduct":[{"id":"c5e2150b-a446-366a-9b24-1c364cf84b15","product":{"name":"lobe-chat","vendor":{"name":"lobehub"}},"product_version":"\u003c 1.129.4"}],"enisaIdVendor":[{"id":"7344dd9b-082f-32d9-997f-903a7159e11a","vendor":{"name":"lobehub"}}],"enisaIdVulnerability":[{"id":"572445b1-8643-3038-b1dd-7e451948d78d","vulnerability":{"id":"CVE-2025-59417","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 \u003clobeArtifact identifier\u003d\"ai-new-interpretation\" ...\u003e , 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.","datePublished":"Sep 18, 2025, 2:38:55 PM","dateUpdated":"Sep 19, 2025, 5:09:51 PM","status":"PUBLISHED","baseScore":6.8,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","references":"https://github.com/lobehub/lobe-chat/security/advisories/GHSA-m79r-r765-5f9j\nhttps://github.com/lobehub/lobe-chat/commit/9f044edd07ce102fe9f4b2fb47c62191c36da05c\n","enisa_id":"EUVD-2025-29847\n","assigner":"GitHub_M","epss":0.43,"dataProcessed":"Nov 15, 2026, 7:17:59 AM","vulnerabilityProduct":[{"id":"8035b450-a8f7-358e-9c3d-0cbbf448e53e","product":{"name":"lobe-chat","vendor":{"name":"lobehub"}},"product_version":"\u003c 1.129.4"}],"vulnerabilityVendor":[{"id":"8db03db9-9af8-39bf-9828-c8b1f5592db9","vendor":{"name":"lobehub"}}]}},{"id":"ed28530b-8b39-3291-9568-268a00188cac","vulnerability":{"id":"GHSA-m79r-r765-5f9j","description":"Lobe Chat Desktop vulnerable to Remote Code Execution via XSS in Chat Messages","datePublished":"Sep 18, 2025, 8:04:54 PM","dateUpdated":"Sep 26, 2025, 4:32:16 PM","baseScore":0.0,"references":"https://github.com/lobehub/lobe-chat/security/advisories/GHSA-m79r-r765-5f9j\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-59417\nhttps://github.com/lobehub/lobe-chat/commit/9f044edd07ce102fe9f4b2fb47c62191c36da05c\nhttps://github.com/lobehub/lobe-chat\nhttps://github.com/lobehub/lobe-chat/blob/0a1dcf943ea294e35acbe57d07f7974efede8e2e/apps/desktop/src/main/controllers/SystemCtr.ts#L65-L68\nhttps://github.com/lobehub/lobe-chat/blob/0a1dcf943ea294e35acbe57d07f7974efede8e2e/src/features/Conversation/components/MarkdownElements/LobeArtifact/index.ts#L7-L11\nhttps://github.com/lobehub/lobe-chat/blob/0a1dcf943ea294e35acbe57d07f7974efede8e2e/src/features/Conversation/components/MarkdownElements/LobeArtifact/rehypePlugin.ts#L50-L68\nhttps://github.com/lobehub/lobe-chat/blob/0a1dcf943ea294e35acbe57d07f7974efede8e2e/src/features/Portal/Artifacts/Body/Renderer/SVG.tsx#L67-L79\nhttps://github.com/lobehub/lobe-chat/blob/0a1dcf943ea294e35acbe57d07f7974efede8e2e/src/features/Portal/Artifacts/Body/Renderer/index.tsx#L10-L32\n","enisa_id":"EUVD-2025-29847\n","aliases":"CVE-2025-59417\nGHSA-m79r-r765-5f9j\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:44:45 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}