Skip to main content
VulnerabilityPublished Updated

CVE-2025-8848: danny-avila/librechat · Code Injection

Affects danny-avila/librechatSource CVE Database V5

0

Not known to be exploited · public detection template (Nuclei) · CVSS 4.8 Medium.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Oct 2025

  2. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubdanny-avila/librechatpkg:github/danny-avila/librechatOther threatsAffected
  • =0.7.9
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2025-8848, organizations should implement strict input validation and output encoding for all HTTP headers, especially the Accept-Language header, to prevent injection of malicious HTML or scripts. Applying Content Security Policy (CSP) headers can help reduce the impact of potential XSS attacks by restricting script execution sources. Since the vulnerability requires authenticated access, enforcing strong authentication mechanisms and monitoring for unusual user behavior can reduce exploitation risk. Organizations should monitor official danny-avila/librechat repositories and security advisories for patches or updates addressing this issue and apply them promptly once available. In the interim, consider implementing web application firewalls (WAFs) with rules to detect and block suspicious Accept-Language header values. Security awareness training for users to recognize phishing or social engineering attempts related to this vulnerability is also recommended. Finally, conduct regular security assessments and penetration tests focusing on input validation weaknesses in web applications.

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.

References

Community reviews

Loading reviews…