4.8medium
HTML Injection in Accept-Language Header in danny-avila/librechat
- Severity
- 4.8medium CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 0.45% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| danny-avila danny-avila/librechat | from unspecified up to latest | CVE List |
| librechat librechat | 0.7.9 | NVD |
All scores
| @huntr_ai | 4.8medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad en danny-avila/librechat versión 0.7.9 permite la inyección de HTML a través del encabezado Accept-Language. Cuando un usuario autenticado envía una solicitud HTTP GET con un encabezado Accept-Language manipulado, se puede inyectar HTML arbitrario en la etiqueta <html lang=“”> de la respuesta. Esto puede conducir a riesgos de seguridad potenciales como ataques de cross-site scripting (XSS).
References
| https://huntr.com/bounties/a05ebc1f-882a-4adc-b178-d3cefa4b730e | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-8848 changed 2025-10-30 | CVE Terms of Use |
| NVD | CVE-2025-8848 changed 2026-10-08 | Public domain |