Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker hosts malicious MCP server
-
DeliveryVictim adds server URL in LibreChat
-
ExploitOpens MCP config dialog (UI:R)
-
Executiononerror payload runs in LibreChat origin
-
ImpactExfiltrate cookies / alter displayed content
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Primary (MCP) sink: a user must add an attacker-controlled remote MCP server and open its configuration dialog in LibreChat (versions prior to 0.8.6), at which point details.description is rendered via dangerouslySetInnerHTML with no DOMPurify sanitization - the limiting factors are the required user interaction (UI:R, opening the dialog) and the user's choice to add the malicious server. Secondary (banner) sink: requires an administrator to set banner.message, which is then rendered unsanitized to all users, so exploitation of this path is gated by administrative privilege. Both sinks exist in default configurations below 0.8.6; the single complete fix is upgrading to 0.8.6, which adds DOMPurify sanitization (allowed tags/attributes allowlist) to both locations. |
| Impact | This is a CWE-79 XSS with a provided CVSS 3.1 vector of AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (base 6.1, medium), and the vendor (GHSA-vfg3-f8h3-2683) independently assessed it as medium. The signals are internally consistent and point to a real-but-bounded issue rather than an emergency: the vuln.today decision label is 'this_month' (not act_now/emergency), there is no CISA KEV listing in the input, and no EPSS score was supplied. The UI:R metric is well-supported by the description - the primary MCP-description sink only fires when a user opens the MCP configuration dialog, and the secondary banner sink requires an administrator to author the banner message. A public PoC reference exists in the GHSA advisory (a jsdom browser-sink demonstration mirroring the two React sinks); it is not verified as a working end-to-end exploit against a running LibreChat instance, and the maintainer explicitly notes the queue audit did not rerun a full application exploit. One nuance worth flagging: PR:N is defensible for the MCP sink because the malicious payload originates from a remote attacker-controlled MCP server, but exploitation still depends on the victim choosing to add that server and open the dialog, so real-world reach is gated by user action rather than being fully unauthenticated-remote. The S:C (scope change) is justified because script executes in the LibreChat browser origin, a different security authority than the MCP server supplying the data. Overall this is a legitimate medium-priority fix (session/cookie exposure, content tampering, phishing within a trusted origin) but not a drop-everything issue given no confirmed active exploitation and the user/admin-interaction prerequisites. |
| Exploit ScenarioDerived | An attacker stands up a malicious remote MCP server whose metadata description contains an HTML payload such as <img src=x onerror='...'>; when a LibreChat user adds that server and opens its configuration dialog, the unsanitized dangerouslySetInnerHTML render executes the script in the LibreChat origin, exposing browser-context data like cookies. A PoC reference exists demonstrating the sink in a jsdom browser-like environment, though it is not verified as a working exploit against a live deployment. Separately, an administrator-supplied banner.message is rendered unsanitized to all users, so a malicious or compromised admin account yields stored XSS affecting every user loading the page. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Cross-site scripting in LibreChat versions prior to 0.8.6 allows a malicious remote MCP server to execute script in the LibreChat browser origin when a user opens that server's configuration dialog, because details.description is rendered through dangerouslySetInnerHTML without sanitization; the same unsanitized pattern exists for administrator-controlled banner.message shown to all users. The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (6.1, medium), reflecting required user interaction rather than a direct unauthenticated attack, and the banner path additionally requires administrative privilege. Version 0.8.6 adds DOMPurify allowlist sanitization to both sinks; a public PoC reference exists (a jsdom browser-sink demonstration), it is not verified as working exploit code, and no CISA KEV entry is present.
RemediationAI
Upgrade LibreChat to 0.8.6, which sanitizes both sinks with DOMPurify; the fix commit is an ancestor of the v0.8.6 tag per the advisory, and package metadata lists 0.8.6 as the fixed version. The advisory frames updating as the complete fix for both the MCP description and admin banner paths, and no separate vendor workaround is documented in the supplied data. Deployments on stale container images or third-party builds should verify the running source contains commit 619f28d76d rather than assuming a tag name alone, because the advisory limits source-release containment to the published tag. The priority label is this_month, so schedule the upgrade within the current month. Advisory: https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-vfg3-f8h3-2683.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected code is the LibreChat React client. In MCPConfigDialog.tsx, metadata from a remote Model Context Protocol (MCP) server, specifically details.description, is passed as __html to dangerouslySetInnerHTML, so HTML supplied by that server is parsed in the LibreChat origin instead of being treated as text. Banner.tsx has the same pattern for banner.message, an administrator-supplied value rendered to every user. Both are CWE-79 (improper neutralization of input during web page generation). The fix commit 619f28d76d adds DOMPurify with explicit ALLOWED_TAGS and ALLOWED_ATTR lists (a, strong, b, em, i, br, code, span, and p in the MCP dialog) and rewrites anchor target/rel attributes, showing that the intended rendering model is sanitized HTML, not raw HTML. The advisory notes the codebase already used DOMPurify in CustomUserVarsSection.tsx, so this is a defense-propagation failure rather than an absence of a sanitizer library. The trigger requires rendering the malicious description or banner in the browser; the CVSS vector's UI:R captures the dialog-open step for the MCP path, and the banner path is gated by admin rights.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary MCP sink is reachable from a remote attacker-controlled server (PR:N) but needs the user to open the config dialog (UI:R); script crosses into the LibreChat origin (S:C) with limited C/I impact and no availability loss.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-131847
NVD
CVE.org
EPSS
GitHub
Exploit-DB