HackerFeeds
All CVEs

CVE-2026-54032: LibreChat Cross-site Scripting

MEDIUM6.1

Published 2026-11-20 · Updated 2026-11-24 · Source security-advisories@github.com

Not known to be exploited · medium severity — update LibreChat to 0.8.6 or later on your normal schedule.

What to do

  1. Update LibreChat to version 0.8.6 or later. Versions before 0.8.6 are affected.
  2. Until it is patched, do not leave LibreChat reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
  3. Apply a restrictive Content-Security-Policy and mark session cookies HttpOnly to limit what an injected script can do.
  4. Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.

Affected and fixed versions

ProductAffectedFixed in
LibreChat< 0.8.60.8.6

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: confidentiality and integrity are rated low. A successful attack can affect components beyond the vulnerable one.

CVSS 3.1 metrics for CVE-2026-54032
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredNoneThe attacker does not need an account.
User interactionRequiredA victim has to take an action, such as opening a link or file.
ConfidentialityLowPartial loss of confidentiality.
IntegrityLowPartial loss of integrity.
AvailabilityNoneNo effect on availability.

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

Weakness: Cross-site Scripting

An attacker can make script run in another user's browser in the context of the affected site, allowing session theft or actions taken as that user.

Classified as CWE-79.

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.

Advisory text as published in the NVD record.

View on NVD