CVE-2025-66452
JSON

5.3medium

LibreChat's lack of JSON parsing error handling can lead to XSS

Severity
5.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
danny-avila LibreChat<= 0.8.1CVE List
librechat librechatup to 0.8.0NVD

All scores

GitHub_M5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

LibreChat es un clon de ChatGPT con características adicionales. En las versiones 0.8.0 e inferiores, no hay un gestor para errores de análisis JSON; SyntaxError de express.json() incluye la entrada del usuario en el mensaje de error, lo que se refleja en las respuestas. La entrada del usuario (incluyendo HTML/JavaScript) puede quedar expuesta en las respuestas de error, creando un riesgo de XSS si el Content-Type no se aplica estrictamente. Este problema no tiene una solución en el momento de la publicación.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-66452 changed 2025-12-12CVE Terms of Use
NVDCVE-2025-66452 changed 2026-10-07Public domain