CVE-2026-54032 - LibreChat: Remote MCP Server Description XSS via Unsanitized dangerouslySetInnerHTML; secondary Admin Banner sink lacks DOMPurify
Vulnerability · Reported by NVD · · CWE-79
- Severity
- Medium Risk score 61/100
- CVSS
- 6.1 v3.1 · from NVD
- Exploit chance (EPSS)
- 0.39% Higher than 25% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
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.
How this vulnerability can be exploited
This is a cross-site scripting (XSS) flaw (CWE-79). An attacker can exploit this vulnerability remotely over the network, without any login, and only if a user is tricked into an action (such as clicking a link or opening a file). Attack complexity is low, so no special conditions are needed. The impact can spread beyond the vulnerable component to other parts of the system.
Is it being exploited?
The EPSS model estimates a 0.39% chance this CVE will be exploited in the next 30 days, which is low and higher than 25% of all published CVEs.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Warn users about suspicious links and files that could trigger the flaw. 5) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Tags
CVE-2026-54032
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-54032 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.