CVE-2025-66452
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-12-11

Last updated on: 2025-12-15

Assigner: GitHub, Inc.

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-11
Last Modified
2025-12-15
Generated
2026-05-07
AI Q&A
2025-12-12
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
librechat librechat to 0.8.0 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in LibreChat versions 0.8.0 and below, where there is no handler for JSON parsing errors. Specifically, when express.json() encounters a SyntaxError, it includes the user input in the error message, which is then reflected in the server's response. Because user input, including HTML or JavaScript, is exposed in error responses without strict Content-Type enforcement, this creates a cross-site scripting (XSS) risk.


How can this vulnerability impact me? :

The vulnerability can lead to cross-site scripting (XSS) attacks, where malicious user input containing HTML or JavaScript is reflected in error responses. This can allow attackers to execute scripts in the context of users' browsers, potentially leading to session hijacking, data theft, or other malicious actions.


What immediate steps should I take to mitigate this vulnerability?

Since there is no fix available at the time of publication, immediate mitigation steps include strictly enforcing the Content-Type header to prevent the execution of reflected user input in error messages, and avoiding exposing the application to untrusted users. Monitoring and restricting access to the vulnerable LibreChat versions (0.8.0 and below) can also help reduce risk.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart