Skip to content

CVE-2026-32626 AnythingLLM has a Streaming Phase XSS to RCE via LLM Response Injection

CriticalCVSS 9.7 EPSS 0.82%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

Description

AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. In 1.11.1 and earlier, AnythingLLM Desktop contains a Streaming Phase XSS vulnerability in the chat rendering pipeline that escalates to Remote Code Execution on the host OS due to insecure Electron configuration. This works with default settings and requires no user interaction beyond normal chat usage. The custom markdown-it image renderer in frontend/src/utils/chat/markdown.js interpolates token.content directly into the alt attribute without HTML entity escaping. The PromptReply component renders this output via dangerouslySetInnerHTML without DOMPurify sanitization — unlike HistoricalMessage which correctly applies DOMPurify.sanitize().

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
mintplexlabs anythingllm <= 1.11.1 after 1.11.1 Fixed
Mintplex-Labs anything-llm = <= 1.11.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Mintplex-Labs anything-llm = <= 1.11.1 No fix listed
mintplexlabs anythingllm <= 1.11.1 No fix listed

References