| Component | LibreChat |
| Severity | medium (CVSS 6.1) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Published (NVD) | 2025-12-11 |
| Last modified | 2026-10-07 |
| Affected versions | <= 0.8.1 from the CVE Program record written by the CNA that assigned the CVE |
| Fixed in | see the vendor advisory |
| Weakness | CWE-79 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's analysis reads <= 0.8.0. The ranges above come from the CVE record written by GitHub_M, the CNA that assigned the CVE. The page and the scanner follow it: no more trusted source, and no two sources together, say otherwise (see the methodology).
NVD 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.
What to do
- No fixed release is known yet: follow the vendor advisory below and keep LibreChat off the public internet until a fix ships.
- Do not expose the component's API or UI to the internet without authentication in front of it.