Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-54032: LibreChat cross-site scripting in MCP configuration dialog and banner

Identifier
CVE-2026-54032
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

LibreChat versions prior to 0.8.6 render the remote MCP details.description value through dangerouslySetInnerHTML without sanitization in client/src/components/Chat/Input/MCPConfigDialog.tsx. A malicious MCP server can therefore run script when a user opens the configuration dialog. A second unsanitized sink in client/src/components/Banners/Banner.tsx renders administrator-controlled banner.message HTML for all users, and script there can expose browser-context data or alter displayed content in the LibreChat origin.

Mitigation

Fixed in version 0.8.6.