AnythingLLMPublished 16 Mar 2026NVD status: Analyzed

CVE-2026-32626

AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting.

ComponentAnythingLLM
Severitycritical (CVSS 9.6)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Published (NVD)2026-03-16
Last modified2026-06-17
Affected versions
<= 1.11.1
from the CVE Program record written by the CNA that assigned the CVE
Fixed insee the vendor advisory
WeaknessCWE-79
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis gives the same ranges as the CVE record written by GitHub_M, the CNA that assigned the CVE.

NVD 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().

What to do

  • No fixed release is known yet: follow the vendor advisory below and keep AnythingLLM off the public internet until a fix ships.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources