CVE-2025-8848
HTML Injection in Accept-Language Header in danny-avila/librechat
Record summary
CVE-2025-8848 has a selected CVSS score of 5.4 (medium); EIP currently links 1 Nuclei template.
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.
Exploitation context
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Oct 30, 2025 · Source: CVE List
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
danny-avila/librechatBrowse danny-avila / danny-avila/librechat | CVE List | Through latest | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMLibreChat <= 0.7.9 - HTML Injection via Accept-Language HeaderCVSS 5.4
danny-avila/librechat 0.7.9 contains a stored XSS caused by improper sanitization of the Accept-Language header, letting logged-in users inject arbitrary HTML into the html lang= tag, exploit requires user to be logged in.
Impact
Logged-in attackers can inject arbitrary HTML leading to cross-site scripting attacks, potentially compromising user sessions or data.
Remediation
Update to the latest version where this issue is fixed.
Source: ProjectDiscovery