CVE 5.3 MEDIUM

LibreChat’s lack of JSON parsing error handling can lead to XSS_CVE-2025-66452

5.3 / 10
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

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.

Basic Information

ID CVE-2025-66452
Source GitHub_M
Published Dec 11, 2025 at 22:52

Affected Product

Vendor danny-avila
Product LibreChat
Version <= 0.8.1
Affected Versions danny-avila LibreChat <= 0.8.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.