LibreChatPublished 22 Oct 2025NVD status: Analyzed

CVE-2025-8848

A vulnerability in danny-avila/librechat version 0.7.9 allows for HTML injection via the Accept-Language header.

ComponentLibreChat
Severitymedium (CVSS 5.4)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Published (NVD)2025-10-22
Last modified2026-10-08
Affected versions
= 0.7.9
Fixed insee the vendor advisory
WeaknessCWE-94CWE-79
CISA KEVnot listed

Versions, checked against NVD

These are NVD's ranges. Neither a GitHub-reviewed advisory nor the CVE record gives versions to check them against yet.

NVD description

A vulnerability in danny-avila/librechat version 0.7.9 allows for HTML injection via the Accept-Language header. When a logged-in user sends an HTTP GET request with a crafted Accept-Language header, arbitrary HTML can be injected into the <html lang=""> tag of the response. This can lead to potential security risks such as cross-site scripting (XSS) attacks.

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.

Sources