Home / Mintplex-Labs / anything-llm / CVE-2026-41318
CVE-2026-41318: is it exploited, and which versions of Mintplex-Labs anything-llm are affected and fixed?
CVE-2026-41318 is a cross-site scripting (XSS) vulnerability in Mintplex-Labs anything-llm. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: anything-llm < 1.12.1 (CVE record by GitHub_M). Fixed in 1.12.1 (NVD). Severity: Medium (5.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-41318?
AnythingLLM vulnerable to stored DOM XSS in chart caption renderer - LLM-driven prompt injection produces executable HTML via unsanitized renderMarkdown(content.caption) in Chartable component
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.
From the CVE record by GitHub_M, last updated April 24, 2026, 18:17 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Mintplex-Labs | anything-llm | < 1.12.1 |
As the CVE record by GitHub_M states it, last updated April 24, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mintplexlabs | anythingllm | before 1.12.1 | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 22:10 UTC.
How severe is CVE-2026-41318?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-41318 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, April 24, 2026)
- EPSS
- 0.20% probability of exploitation activity in the next 30 days, percentile 10.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-116 Improper Encoding or Escaping of Output
- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
Where are the vendor advisories and references?
- https://github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-4q6m-qh3w-9gf5 x_refsource_CONFIRM
- https://github.com/Mintplex-Labs/anything-llm/commit/f5fa03f4728e483949f6360093bc3ea1ef555535 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- April 20, 2026
- Published
- April 24, 2026, 02:57 UTC
- CVE record updated
- April 24, 2026, 18:17 UTC by GitHub_M
- NVD
- Analyzed, last modified October 26, 2026, 22:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect anything-llm?
- Sep 10, 2026CVE-2026-88055 Mintplex-Labs anything-llm: cross-site scripting (XSS)
- Aug 10, 2026CVE-2026-72917 Mintplex-Labs anything-llm: incorrect Behavior Order: Validate Before Canonicalize
- Jun 24, 2026CVE-2026-55611 Mintplex-Labs anything-llm: authorization bypass through a user-controlled key (IDOR)
- Jun 24, 2026CVE-2026-48789 Mintplex-Labs anything-llm: path traversal (reading or writing files outside the intended folder)
- May 28, 2026CVE-2026-47713 Mintplex-Labs anything-llm: improper authorization
- May 28, 2026CVE-2026-48116 Mintplex-Labs anything-llm: command injection
- May 28, 2026CVE-2026-45403 Mintplex-Labs anything-llm: link following (a symlink lets an attacker reach other files)
- May 8, 2026CVE-2026-42456 Mintplex-Labs anything-llm: information disclosure
Questions about CVE-2026-41318
Is CVE-2026-41318 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.20% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Mintplex-Labs anything-llm are affected by CVE-2026-41318?
anything-llm < 1.12.1, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-41318?
1.12.1, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-41318?
Medium (5.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-41318?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.