Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Librechat | Librechat | <= 0.8.0 |
Related Weaknesses (CWE)
References
- https://github.com/danny-avila/LibreChat/security/advisories/GHSA-q6c5-gvj5-c264ExploitVendor Advisory
FAQ
What is CVE-2025-66452?
CVE-2025-66452 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 messag...
How severe is CVE-2025-66452?
CVE-2025-66452 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-66452?
Check the references section above for vendor advisories and patch information. Affected products include: Librechat Librechat.