CVE-2025-8848
JSON

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 packageVersionsReported by
danny-avila danny-avila/librechatfrom unspecified up to latestCVE List
librechat librechat0.7.9NVD

All scores

@huntr_ai4.8medium CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

Sources

SourceRecordLicence
CVE ListCVE-2025-8848 changed 2025-10-30CVE Terms of Use
NVDCVE-2025-8848 changed 2026-10-08Public domain