Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.1CVE-2026-54032

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

LibreChat-AI LibreChat

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-54032: medium-severity vulnerability (CVSS 6.1) in LibreChat-AI LibreChat.

What happened

Original description from the source: 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.

Why it matters

Medium severity, CVSS 6.1.

Affected products and versions

LibreChat-AI LibreChat < 0.8.6

ProductVersionsFixed in
LibreChat-AI LibreChat< 0.8.6—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-79

Relevant change history

  1. Published

    Preliminary advisory published.