RCE in Danny-Avila Danny-Avila/librechat

CVE-2025-8848

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.004 (34.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-8848?
CVE-2025-8848 is a medium-severity vulnerability in Danny-Avila Danny-Avila/librechat, classified under Code Injection. CVSS score: 5.4/10. Published 2025-10-22.
How severe is CVE-2025-8848?
Medium severity. CVSS v3 base score is 5.4 out of 10.