Skip to main content
VulnerabilityPublished

CVE-2025-66452: danny-avila LibreChat · Cross-site Scripting

Affects danny-avila LibreChatSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubdanny-avila/LibreChatpkg:github/danny-avila/LibreChatOther threatsAffected
  • <=0.8.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Implement strict Content-Type header enforcement on the server side, ensuring that only application/json requests are accepted and responded to accordingly.
  2. Introduce robust error handling middleware to catch JSON parsing errors and return generic error messages without reflecting user input.
  3. Sanitize and encode any user input before including it in HTTP responses to prevent script injection.
  4. Monitor and restrict user inputs to expected JSON formats, rejecting malformed or suspicious payloads early.
  5. Consider deploying Web Application Firewalls (WAFs) with rules to detect and block reflected XSS patterns targeting LibreChat endpoints.
  6. Isolate LibreChat deployments from critical internal systems to limit potential lateral movement.
  7. Stay updated with the LibreChat project for forthcoming patches and apply them promptly once available.
  8. Educate users about the risks of interacting with suspicious chatbot inputs and encourage reporting anomalies.

Description

LibreChat is a ChatGPT clone with additional features. In versions 0.8.0 and below, there is no handler for JSON parsing errors; SyntaxError from express.json() includes user input in the error message, which gets reflected in responses. User input (including HTML/JavaScript) can be exposed in error responses, creating an XSS risk if Content-Type isn't strictly enforced. This issue does not have a fix at the time of publication.

References

Community reviews

Loading reviews…