# CVE-2026-41318: AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during…

Source: https://junglewise.ai/threats/cve-2026-41318-anythingllm-is-an-application-that-turns-pieces-of-content-into  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-24  
License: CC BY 4.0 with a link back

CVE-2026-41318 · Severity: medium · CVSS 5.4 · Published 2026-04-24

AnythingLLM is an application that turns pieces of content into context that any LLM can use as references during chatting. Prior to version 1.12.1, AnythingLLM's in-chat markdown renderer has an unsafe custom rule for images that interpolates the markdown image's `alt` text into an HTML `alt="..."` attribute without any HTML encoding. Every call-site in the app wraps `renderMarkdown(...)` with `DOMPurify.sanitize(...)` as defense-in-depth — except the `Chartable` component, which renders chart captions with no sanitization. The chart caption is the natural-language text the LLM emits around a `create-chart` tool call, so any attacker who can influence the LLM's output — most cheaply via indirect prompt injection in a shared workspace document, or directly if they can create a chart record in a multi-user workspace — can trigger stored DOM-level XSS in every other user's browser when they open that conversation. AnythingLLM chat history is loaded server-side via `GET /api/workspace/:slug/chats` and rendered directly into the chat UI. Version 1.12.1 contains a patch for this issue.

Technologies: [Mintplexlabs Anythingllm](https://junglewise.ai/threats/technologies/anythingllm). Vendors: [Mintplexlabs](https://junglewise.ai/threats/vendors/mintplexlabs).

## Quick answers

**Is CVE-2026-41318 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-41318 being exploited in the wild.

**How severe is CVE-2026-41318?** Medium severity, with a CVSS score of 5.4, published 24 April 2026.

**Which products and versions are affected?** Mintplexlabs Anythingllm. The advisory does not name versions.

**Is there a fix for CVE-2026-41318?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2026-41318?** Check whether you run Mintplexlabs Anythingllm. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Mintplexlabs Anythingllm

## Related threats

- [Mintplex Labs AnythingLLM IDOR in text-to-speech endpoint](https://junglewise.ai/threats/cve-2026-42456-mintplex-labs-anythingllm-idor-in-text-to-speech-endpoint)
- [A path traversal vulnerability exists in mintplex-labs/anything-llm versions up to and including 1.9.1, within the…](https://junglewise.ai/threats/cve-2026-5627-a-path-traversal-vulnerability-exists-in-mintplex-labs-anything)
- [An authentication bypass vulnerability exists in AnythingLLM v1.8.5 in via the /api/workspaces endpoint. The endpoint…](https://junglewise.ai/threats/cve-2025-63390-an-authentication-bypass-vulnerability-exists-in-anythingllm-v1-8)
