CVE Catalog

CVE-2025-66452

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

11th percentile - higher than 11% of all known CVEs

Summary

LibreChat in versions 0.8.0 and below lacks a handler for JSON parsing errors. SyntaxError from express.json() includes user input in the error message, which gets reflected in responses, creating an XSS risk if Content-Type isn't strictly enforced.

Risk Assessment

The XSS risk could allow an attacker to execute malicious scripts in a victim's browser, potentially leading to session theft or account takeover.

Recommendation

Restrict access to the application and monitor error messages. Until a fix is available, implement additional input filtering and enforce strict Content-Type.

Other vulnerabilities in LibreChat

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS