Skip to content
MediumVulnerabilityLLM-specific

CVE-2025-66452: LibreChat cross-site scripting through unhandled JSON parsing errors

Identifier
CVE-2025-66452
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

CVE-2025-66452 affects LibreChat versions 0.8.0 and below. The application has no handler for JSON parsing errors, so a SyntaxError from express.json() includes user input in its error message, which is reflected in responses. Attacker-supplied HTML or JavaScript can therefore appear in error responses, creating an XSS risk when Content-Type is not strictly enforced.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.