← VULNERABILITIES

CVE-2026-54032

LibreChat: Remote MCP Server Description XSS via Unsanitized dangerouslySetInnerHTML; secondary Admin Banner sink lacks DOMPurify

Medium · 6.1
CVSS
6.1
EPSS
0.39% (p25)
Published
2026-11-20
Age
11d old
Modified
2026-11-24
Product
LibreChat-AI LibreChat

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

Description

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.

Sources

  • NVD · first seen 11d ago · NVD terms of use
  • CVE List · first seen 11d ago · CVE Terms of Use

References

JSON