CVE-2025-8848: HTML Injection in Accept-Language Header in danny-avila/librechat

Published Oct 22, 2025
·
Updated

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 Software

2 affected components
danny-avila librechat
librechat librechat=0.7.9

Event History

Oct 22, 2025
CVE Published
via MITRE·01:54 PM
Data Sourced
via MITRE·01:54 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Nov 27, 57876
Event
via FIRST·12:20 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-8848?

CVE-2025-8848 is classified as a high severity vulnerability due to its potential for HTML injection.

2

How do I fix CVE-2025-8848?

To fix CVE-2025-8848, update the danny-avila/librechat library to version 0.7.10 or later where the vulnerability is patched.

3

What kind of attack is associated with CVE-2025-8848?

CVE-2025-8848 is associated with HTML injection attacks via a malicious Accept-Language header.

4

Who is affected by CVE-2025-8848?

Users of danny-avila/librechat version 0.7.9 are affected by CVE-2025-8848.

5

What is the potential impact of CVE-2025-8848?

The potential impact of CVE-2025-8848 includes malicious HTML being injected into web responses, which could lead to user data theft or other exploits.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203