PT-2025-50773 · Librechat · Librechat
Published
2025-12-11
·
Updated
2025-12-15
·
CVE-2025-66452
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
LibreChat versions 0.8.0 and below
Description
LibreChat, a ChatGPT clone with additional features, does not have a handler for JSON parsing errors. A
SyntaxError originating from express.json() includes user input in the error message, which is then reflected in responses. This can lead to the exposure of user input, including HTML and JavaScript, in error responses. If the Content-Type is not strictly enforced, this creates a cross-site scripting (XSS) risk.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Librechat