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-2026-32626: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Mintplex-Labs anything-llm

0
Critical
VulnerabilityCVE-2026-32626cvecve-2026-32626cwe-79
Published: Fri Mar 13 2026 (03/13/2026, 20:14:30 UTC)
Source: CVE Database V5
Vendor/Project: Mintplex-Labs
Product: anything-llm

Description

CVE-2026-32626 is a critical cross-site scripting (XSS) vulnerability in AnythingLLM Desktop versions 1. 11. 1 and earlier. The flaw exists in the chat rendering pipeline where user input is improperly sanitized, specifically in the custom markdown-it image renderer that injects unescaped content into the alt attribute. This vulnerability escalates to remote code execution (RCE) on the host operating system due to insecure Electron configuration, requiring no special privileges or user interaction beyond normal chat use. The PromptReply component uses dangerouslySetInnerHTML without applying DOMPurify sanitization, unlike other components that do sanitize input. The CVSS score is 9. 7, reflecting the high impact and ease of exploitation. No known exploits are currently in the wild, but the vulnerability poses a severe risk to users of affected versions. Immediate patching or mitigation is critical to prevent potential compromise.

AI-Powered Analysis

AILast updated: 03/13/2026, 20:44:55 UTC

Technical Analysis

CVE-2026-32626 is a critical security vulnerability affecting AnythingLLM Desktop versions 1.11.1 and earlier, developed by Mintplex-Labs. The vulnerability is classified as CWE-79, an improper neutralization of input during web page generation, commonly known as cross-site scripting (XSS). The root cause lies in the chat rendering pipeline, specifically within the custom markdown-it image renderer located in frontend/src/utils/chat/markdown.js. This renderer interpolates token.content directly into the alt attribute of image tags without performing HTML entity escaping, allowing malicious input to be injected. Furthermore, the PromptReply React component renders this unescaped content using dangerouslySetInnerHTML without applying DOMPurify sanitization, unlike the HistoricalMessage component which correctly sanitizes input. Due to the insecure Electron configuration of the application, this XSS vulnerability escalates to remote code execution (RCE) on the host operating system. The exploit requires no privileges and no user interaction beyond normal chat usage, making it highly exploitable. The vulnerability was published on March 13, 2026, with a CVSS v3.1 score of 9.7, indicating critical severity with network attack vector, low attack complexity, no privileges required, user interaction required, and scope changed. Although no known exploits are currently observed in the wild, the combination of XSS and Electron RCE makes this a highly dangerous vulnerability that could lead to full system compromise.

Potential Impact

The impact of CVE-2026-32626 is severe for organizations using AnythingLLM Desktop versions 1.11.1 and earlier. Successful exploitation allows attackers to execute arbitrary code on the host operating system remotely, potentially leading to full system compromise. This can result in unauthorized access to sensitive data, installation of persistent malware, lateral movement within networks, and disruption of business operations. Since the vulnerability requires no special privileges and no additional user interaction beyond normal chat usage, it significantly lowers the barrier for attackers. Organizations relying on AnythingLLM for content processing and LLM interactions face risks of data breaches, intellectual property theft, and operational downtime. The critical severity and ease of exploitation make this a high-priority threat that could be leveraged by cybercriminals or nation-state actors targeting software supply chains or AI-related workflows.

Mitigation Recommendations

To mitigate CVE-2026-32626, organizations should immediately upgrade AnythingLLM Desktop to a version later than 1.11.1 once a patched release is available. In the absence of an official patch, users should disable or restrict the use of the chat feature that processes untrusted content. Developers should implement proper HTML entity escaping for all user-supplied content interpolated into HTML attributes, especially in the markdown-it image renderer. Additionally, the PromptReply component must apply DOMPurify or equivalent sanitization before rendering any HTML via dangerouslySetInnerHTML to prevent XSS. Electron application configurations should be hardened by disabling nodeIntegration and enabling contextIsolation to reduce the risk of RCE from renderer processes. Network-level protections such as web application firewalls (WAFs) can be tuned to detect and block suspicious payloads targeting the chat interface. Finally, organizations should monitor for unusual process behavior on hosts running AnythingLLM and conduct regular security audits of AI-related applications.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-12T15:29:36.558Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69b473bd2f860ef943aa93f8

Added to database: 3/13/2026, 8:29:49 PM

Last enriched: 3/13/2026, 8:44:55 PM

Last updated: 3/14/2026, 4:23:15 AM

Views: 7

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses