CVE-2026-54032 LibreChat: Remote MCP Server Description XSS via Unsanitized dangerouslySetInnerHTML; secondary Admin Banner sink lacks DOMPurify
설명
LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.6, client/src/components/Chat/Input/MCPConfigDialog.tsx renders the remote MCP details.description value through dangerouslySetInnerHTML without sanitization, allowing a malicious MCP server to execute script when a user opens the configuration dialog. The secondary client/src/components/Banners/Banner.tsx sink similarly renders administrator-controlled banner.message HTML without sanitization for all users. Script execution occurs in the LibreChat browser origin and can expose browser-context data or alter displayed content. This issue is fixed in version 0.8.6.
영향 받는 제품 제품 1개
-
해결 버전 있음
LibreChat-AI
LibreChat
영향 받는 버전
- 0.8.6 미만
해결 버전
- 0.8.6 이상
참고 자료 4건
- github.com https://github.com/LibreChat-AI/LibreChat/commit/619f28d76d73ff34448451ed25a9629e6c28a640 (새 창)
- github.com https://github.com/LibreChat-AI/LibreChat/pull/12927 (새 창)
- github.com https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.6 (새 창)
- github.com https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-vfg3-f8h3-2683 (새 창)