CVE-2025-8848CWE-79CWE-94cross-site-scriptingcode-injection
CVE-2025-8848
Medium · published October 22, 2025
What it is
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.
The record
Technical detail
- CVSS v3.1
- 5.4 · MEDIUM
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CVSS v4.0
- Not supplied
- EPSS
- 0.00453 · 38.3th percentile
- Weaknesses
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'); CWE-94 · Improper Control of Generation of Code ('Code Injection')
- Published
- 2025-10-22T18:15Z
Affected products (1)
| Product | Versions | Fixed in |
|---|
| librechat/librechat | all versions | — |
References (1)
EPSS history
Timeline