Cross-site scripting in LibreChat - CVE-2025-66452
Published: April 27, 2026
LibreChat
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary script in the victim's browser.
The vulnerability exists due to improper neutralization of input during web page generation in api request handling when reflecting invalid JSON payloads in HTTP responses. A remote attacker can send a specially crafted request containing HTML or JavaScript code to execute arbitrary script in the victim's browser.