Black Friday60% off BLACKFRIDAY2026
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Dec 31, 2025

CVE-2025-8848 Scanner

CVE-2025-8848 Scanner - Stored Cross-Site Scripting (XSS) vulnerability in LibreChat

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
2.8k
Times Used
continuous scan runs
4.2k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
5.4
CVSSmedium
Exploitable remotely over the internet · requires high privileges · user interaction needed.
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.

Attack Vector
Network
Privileges Req.
High
User Interaction
Required
Affected
danny-avila/librechatby danny-avila
unspecified
Updated Nov 7, 2026View on NVD →
Detail

LibreChat is a communication platform used by various organizations for internal and external communication. It's commonly used by businesses to facilitate team collaboration and project management. The platform supports multiple language options and user-generated content. The software is user-friendly and offers customizable options to suit different organizational needs. Despite its benefits, it is crucial for administrators to keep the software updated to prevent exploitation. LibreChat provides a collaborative environment but must be secured against potential vulnerabilities.

The Cross-Site Scripting (XSS) vulnerability occurs when attackers inject malicious scripts into trusted websites. In the case of LibreChat, this vulnerability is found in versions <= 0.7.9 due to inadequate input sanitization of the Accept-Language header. This allows logged-in users to inject arbitrary HTML content. When exploited, this vulnerability could lead to compromise of user sessions and sensitive data. Effective input validation and regular updates are essential measures to mitigate XSS attacks.

The vulnerability lies in the handling of the Accept-Language header which allows insertion of arbitrary HTML into the html lang= tag. The vulnerability is due to improper sanitization of user input in the header. Attackers can execute arbitrary scripts in the context of the user's session. This could potentially lead to unauthorized access to sensitive information or activities. Affected users must be logged in for the exploit to work, highlighting the importance of secure session management.

If this vulnerability is exploited, attackers can perform actions such as session hijacking or data theft. Unauthorized scripts could be executed, which might affect the integrity and confidentiality of user information. Users could be redirected to malicious websites without their knowledge. Such exploitation can erode trust in the platform and damage the reputation of the hosting organization. Preventative action is essential to maintain user safety and application integrity.

REFERENCES

Solution Advice
  • Update LibreChat to the latest version where this issue is fixed.
  • Implement proper input validation and sanitization of headers.
  • Regularly review and update security policies to protect against scripting attacks.
  • Enable content security policies (CSP) to restrict the execution of untrusted scripts.
  • Educate users on recognizing and avoiding potentially malicious activities.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.