Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 88%

CVE-2026-41318: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in Mintplex-Labs anything-llm

0
Medium
VulnerabilityCVE-2026-41318cvecve-2026-41318cwe-79cwe-116cwe-1336
Published: Fri Apr 24 2026 (04/24/2026, 02:57:16 UTC)
Source: CVE Database V5
Vendor/Project: Mintplex-Labs
Product: anything-llm

Description

CVE-2026-41318 is a stored cross-site scripting (XSS) vulnerability in Mintplex-Labs' AnythingLLM application versions prior to 1. 12. 1. The issue arises from unsafe handling of markdown image alt text in the in-chat markdown renderer, specifically in the Chartable component, which does not sanitize chart captions. An attacker able to influence the LLM's output can inject malicious scripts that execute in other users' browsers when they view the affected chat. Version 1. 12. 1 includes a patch addressing this vulnerability.

CVSS v3.1

Score 5.4medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/01/2026, 20:44:54 UTC

Technical Analysis

AnythingLLM's in-chat markdown renderer prior to version 1.12.1 uses a custom rule for images that inserts the markdown image's alt text directly into an HTML alt attribute without HTML encoding. While most renderMarkdown calls are sanitized with DOMPurify, the Chartable component renders chart captions without sanitization. Since chart captions are generated from natural language output by the LLM, an attacker who can influence the LLM output (via indirect prompt injection or by creating chart records in multi-user workspaces) can inject stored DOM-level XSS payloads. These payloads execute in other users' browsers when they open the conversation. The vulnerability is fixed in version 1.12.1.

Potential Impact

Successful exploitation allows an attacker to execute stored cross-site scripting attacks in the browsers of other users viewing the affected chat conversations. This can lead to theft of sensitive information or session tokens (confidentiality impact is high), limited integrity impact, and no impact on availability. The vulnerability requires network access and user interaction, with a high attack complexity and low privileges required.

Mitigation Recommendations

A patch is available in AnythingLLM version 1.12.1 that fixes this vulnerability by properly sanitizing the chart captions. Users should upgrade to version 1.12.1 or later to remediate this issue. No other mitigation is specified or required by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-20T14:01:46.671Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69eaec2d87115cfb68c0d936

Added to database: 4/24/2026, 4:06:05 AM

Last enriched: 5/1/2026, 8:44:54 PM

Last updated: 6/7/2026, 4:04:57 PM

Views: 48

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses