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

- Severity: Critical 9.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-13T20:14:30.437Z
- Modified: 2026-06-17T10:36:07.507Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- Mintplex-Labs anything-llm: <= 1.11.1
- mintplexlabs anythingllm: up to 1.11.1

## References

- <https://github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-rrmw-2j6x-4mf2> (exploit, vendor-advisory)
- <https://github.com/Mintplex-Labs/anything-llm/commit/9e2d144dc8be6fab29f560f5bcdaa9ef7dbb4214> (patch)

## Sources

- CVE List: [CVE-2026-32626](https://www.cve.org/CVERecord?id=CVE-2026-32626), CVE Terms of Use, modified 2026-03-16
- NVD: [CVE-2026-32626](https://nvd.nist.gov/vuln/detail/CVE-2026-32626), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32626 · Whole record: https://cve.day/CVE-2026-32626.json · Rebuilt by cve.day 2026-11-25T22:59:15.958Z
