CVE-2025-8848

HTML Injection in Accept-Language Header in danny-avila/librechat

State
Published
Severity
4.8 Medium
Published
Oct 22, 2025
Updated
Oct 30, 2025
Reserved
Aug 10, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.04.8 MediumCVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N@huntr_ai

Weaknesses

  • CWE-94 Improper Control of Generation of Code

Affected Products

ProductVersions
danny-avila/librechatdanny-avila
  • latest and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.