What’s Vulnerable › Vulnerabilities
CVE-2025-66452: LibreChat's lack of JSON parsing error handling can lead to XSS
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-12-11 · updated 2026-10-07
- Weakness: CWE-79
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.
Affected products
- danny-avila LibreChat: through 0.8.0
References
Get alerted when CVE-2025-66452 or the next vulnerability affects your stack