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…

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 an unsafe custom markdown image rendering rule that inserts unencoded alt text into HTML attributes. While most uses of the markdown renderer are sanitized with DOMPurify, the Chartable component renders chart captions without sanitization. An attacker who can influence the LLM output, for example via prompt injection or multi-user workspace chart creation, can inject malicious scripts that execute in other users' browsers when viewing the conversation. Version 1. 12. 1 includes a patch addressing this vulnerability. The CVSS 3.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/24/2026, 04:21:42 UTC

Technical Analysis

AnythingLLM's in-chat markdown renderer prior to version 1.12.1 contains a cross-site scripting vulnerability due to improper neutralization of input in the alt attribute of images. The vulnerability is specifically in the Chartable component, which renders chart captions derived from LLM-generated natural language without applying DOMPurify sanitization. This allows an attacker capable of influencing LLM output or creating chart records in a shared workspace to inject stored XSS payloads that execute in other users' browsers when they load the chat history. The vulnerability is fixed in version 1.12.1.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary scripts in the browsers of other users viewing the affected chat conversations. This can lead to theft of sensitive information, session hijacking, or other client-side impacts. The vulnerability requires the attacker to influence LLM output or create chart records in a multi-user workspace, and user interaction is required to trigger the XSS. The CVSS score of 5.4 reflects a medium severity with high confidentiality impact but lower integrity and availability impacts.

Mitigation Recommendations

Upgrade AnythingLLM to version 1.12.1 or later, which contains a patch that properly sanitizes chart captions to prevent this XSS vulnerability. Until upgraded, avoid allowing untrusted users to create chart records or influence LLM output in shared workspaces. There is no official vendor advisory provided here, so check Mintplex-Labs' resources for confirmation and additional guidance.

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: 4/24/2026, 4:21:42 AM

Last updated: 4/24/2026, 5:47:47 AM

Views: 6

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