CVE-2025-66452: danny-avila LibreChat · Cross-site Scripting
Affects danny-avila LibreChatSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 26 Oct 2026, 14:05 UTC
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
GitHubdanny-avila/LibreChatpkg:github/danny-avila/LibreChatOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Implement strict Content-Type header enforcement on the server side, ensuring that only application/json requests are accepted and responded to accordingly.
- Introduce robust error handling middleware to catch JSON parsing errors and return generic error messages without reflecting user input.
- Sanitize and encode any user input before including it in HTTP responses to prevent script injection.
- Monitor and restrict user inputs to expected JSON formats, rejecting malformed or suspicious payloads early.
- Consider deploying Web Application Firewalls (WAFs) with rules to detect and block reflected XSS patterns targeting LibreChat endpoints.
- Isolate LibreChat deployments from critical internal systems to limit potential lateral movement.
- Stay updated with the LibreChat project for forthcoming patches and apply them promptly once available.
- 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.