Cross-site scripting in LibreChat MCP server description dialog
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
LibreChat before 0.8.6 renders the description of a remote MCP server through dangerouslySetInnerHTML without sanitization in the MCP configuration dialog. A malicious MCP server can run script when a user opens that dialog, and a related banner component renders administrator-supplied HTML without sanitization for all users. Script runs in the LibreChat browser origin, so it can expose browser-context data or alter displayed content. The weakness is classified as CWE-79.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
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 now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| LibreChat-AI | LibreChat | before 0.8.6 | 0.8.6 | Patch available | CNA |
- LibreChat VendorLibreChat-AI Affected before 0.8.6 Fixed in 0.8.6 Patch available CNA
Remediation
Update LibreChat to version 0.8.6, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
- Fix · CNA LibreChat (LibreChat-AI) Fixed in 0.8.6
Timeline
- 2026-11-20 Threatist record created from CVE-2026-54032
- 2026-11-20 Affected versions changed · CNA
- 2026-11-24 CISA SSVC decision points changed
References
More LibreChat-AI vulnerabilities
- TI-2026-96065 LibreChat: Pre-registration account takeover via attacker-controlled `provider` field and social-login email fallback CVSS 3.1HIGH 8.1
- TI-2026-96070 Password reset deletes pending email-verification tokens in LibreChat CVSS 3.1MEDIUM 6.5
- TI-2026-96067 LibreChat 2FA check lacks rate limiting, allowing code guessing CVSS 3.1MEDIUM 6.8
- TI-2026-96071 User enumeration via email verification endpoint in LibreChat CVSS 3.1MEDIUM 5.3
- TI-2026-96072 Message injection into other users' conversations in LibreChat CVSS 3.1MEDIUM 6.5
- TI-2026-96063 LibreChat MCP OAuth requests follow redirects to internal addresses CVSS 3.1MEDIUM 6.3
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences