# CVE-2025-66452: LibreChat's lack of JSON parsing error handling can lead to XSS

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-11T22:52:20.442Z
- Modified: 2026-10-07T20:10:01.970Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- danny-avila LibreChat: <= 0.8.1
- librechat librechat: up to 0.8.0

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/danny-avila/LibreChat/security/advisories/GHSA-q6c5-gvj5-c264> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2025-66452](https://www.cve.org/CVERecord?id=CVE-2025-66452), CVE Terms of Use, modified 2025-12-12
- NVD: [CVE-2025-66452](https://nvd.nist.gov/vuln/detail/CVE-2025-66452), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-66452 · Whole record: https://cve.day/CVE-2025-66452.json · Rebuilt by cve.day 2026-11-25T22:59:09.274Z
