Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-66450: CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in danny-avila LibreChat

0
High
VulnerabilityCVE-2025-66450cvecve-2025-66450cwe-80
Published: Thu Dec 11 2025 (12/11/2025, 22:05:47 UTC)
Source: CVE Database V5
Vendor/Project: danny-avila
Product: LibreChat

Description

LibreChat is a ChatGPT clone with additional features. In versions 0.8.0 and below, when a user posts a question, the iconURL parameter of the POST request can be modified by an attacker. The malicious code is then stored in the chat which can then be shared to other users. When sharing chats with a potentially malicious “tracker”, resources loaded can lead to loss of privacy for users who view the chat link that is sent to them. This issue is fixed in version 0.8.1.

AI-Powered Analysis

AILast updated: 12/19/2025, 05:21:26 UTC

Technical Analysis

CVE-2025-66450 is a stored cross-site scripting (XSS) vulnerability identified in the LibreChat application, a ChatGPT clone with additional features. The vulnerability exists in versions 0.8.0 and below, where the iconURL parameter in the POST request used to submit user questions is not properly sanitized. This improper neutralization of script-related HTML tags (CWE-80) allows an attacker to inject malicious JavaScript code into chat messages. Because the malicious code is stored, it persists in the chat history and is executed whenever other users view the infected chat. This can be exploited to load external resources, such as trackers, which can compromise the privacy of users by leaking information about their activity or environment. The vulnerability does not require any authentication or privileges, and only requires user interaction in the form of viewing the malicious chat content. The CVSS 4.0 base score of 8.6 reflects the high impact on confidentiality and integrity, with network attack vector, low attack complexity, and no privileges required. The vulnerability is fixed in LibreChat version 0.8.1, where proper input validation and output encoding have been implemented to neutralize script tags in the iconURL parameter. No known exploits are currently reported in the wild, but the potential for privacy invasion and further exploitation through XSS remains significant.

Potential Impact

For European organizations, this vulnerability poses a significant risk to user privacy and data integrity. Since LibreChat is a chat platform that may be used for internal communications or customer interactions, exploitation could lead to unauthorized disclosure of sensitive information through trackers or malicious scripts. The stored XSS nature means that once a malicious payload is injected, it can affect multiple users repeatedly, increasing the attack surface. Privacy regulations such as GDPR heighten the impact, as data leakage or tracking without consent can lead to regulatory penalties and reputational damage. Additionally, attackers could leverage this vulnerability to perform session hijacking, credential theft, or deliver further malware, escalating the threat beyond privacy loss. Organizations relying on LibreChat for communication must consider the risk of persistent malicious content and potential lateral movement within their networks.

Mitigation Recommendations

The primary and most effective mitigation is to upgrade LibreChat to version 0.8.1 or later, where the vulnerability is patched. Organizations should implement strict input validation and output encoding on all user-supplied data, especially parameters like iconURL that are rendered in HTML contexts. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts and loading of external resources. Monitor chat logs and shared content for suspicious or unexpected HTML/JavaScript code. Educate users about the risks of clicking on untrusted chat links and encourage reporting of unusual behavior. If upgrading immediately is not feasible, consider disabling the sharing feature or restricting it to trusted users only. Regularly audit and scan the application for XSS vulnerabilities using automated tools and penetration testing. Finally, ensure incident response plans include procedures for handling XSS exploitation and data leakage incidents.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2025-12-01T18:22:06.865Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 693b450222246175c6a639de

Added to database: 12/11/2025, 10:26:10 PM

Last enriched: 12/19/2025, 5:21:26 AM

Last updated: 2/7/2026, 4:07:43 PM

Views: 78

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats