BreachSpiderVerified, not vibes

CVE-2026-41318 in Mintplexlabs Anythingllm

Medium 5.4

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 withou...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.4
EPSS0.3%
EPSS percentile13th
FixUnknown

Remotely exploitable over the network, high complexity, low privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Mintplexlabs Anythingllm < 1.12.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-41318
BreachSpider IDBS-2026-GLOBAL-152494-M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N
Published2026-04-24
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-79: Cross-Site Scripting (XSS)

Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.

CWE-116: CWE-116

CWE-1336: CWE-1336

Related attack patterns (CAPEC)

CAPEC-81 Web Server Logs Tampering via CWE-116

CAPEC-85 AJAX Footprinting via CWE-79, CWE-116

CAPEC-209 XSS Using MIME Type Mismatch via CWE-79

CAPEC-588 DOM-Based XSS via CWE-79

CAPEC-591 Reflected XSS via CWE-79

Show all 9

CAPEC-592 Stored XSS via CWE-79

CAPEC-63 Cross-Site Scripting (XSS) via CWE-79

CAPEC-73 User-Controlled Filename via CWE-116

CAPEC-104 Cross Zone Scripting via CWE-116

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

AnythingLLM versions prior to 1.12.1 contain a vulnerability in the in-chat markdown renderer where the alt text of images is interpolated into HTML without encoding, potentially leading to Cross-Site Scripting (XSS) attacks.

An attacker can craft a markdown message with a specially crafted image alt text that includes malicious HTML or JavaScript. When this message is rendered in the chat, the unsanitized alt text is directly inserted into the HTML, allowing the execution of arbitrary scripts in the context of the victim's browser.

Questions

What is CVE-2026-41318?

AnythingLLM versions prior to 1.12.1 contain a vulnerability in the in-chat markdown renderer where the alt text of images is interpolated into HTML without encoding, potentially leading to Cross-Site Scripting (XSS) attacks.

What is the CVSS score for CVE-2026-41318?

CVE-2026-41318 has CVSS 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N. EPSS: 0.3%.

Is CVE-2026-41318 actively exploited?

No confirmed active exploitation of CVE-2026-41318 as of 2026-11-03.

How do I remediate CVE-2026-41318?

Priority: MEDIUM. PSIRT: [email protected]

What systems are affected by CVE-2026-41318?

CVE-2026-41318 affects Mintplexlabs Anythingllm.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Mintplexlabs","product":"Anythingllm","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.