製品・ソフトウェアに関する情報
mintplexlabsのanythingllmにおける複数の脆弱性
Title mintplexlabsのanythingllmにおける複数の脆弱性
Summary

AnythingLLMは、コンテンツの断片を任意のLLMがチャット中に参照として使用できるコンテキストに変換するアプリケーションです。バージョン1.12.1より前のAnythingLLMのチャット内マークダウンレンダラーには、画像のカスタムルールに安全でない部分があり、マークダウン画像の`alt`テキストをHTMLの`alt="..."`属性にHTMLエンコードせずに埋め込んでいました。アプリ内のすべての呼び出し元では防御層として`renderMarkdown(...)`を`DOMPurify.sanitize(...)`でラップしていますが、チャートのキャプションを無消毒でレンダリングする`Chartable`コンポーネントは例外です。チャートキャプションは、`create-chart`ツール呼び出し周辺でLLMが生成する自然言語テキストであり、攻撃者は共有ワークスペースドキュメントにおける間接的なプロンプトインジェクションやマルチユーザーワークスペースでチャートデータを作成することによってLLMの出力に影響を与え、このキャプションを介して他のユーザーのブラウザで永続的なDOMレベルのXSSを引き起こす可能性があります。AnythingLLMのチャット履歴はサーバー側で`GET /api/workspace/:slug/chats`経由で読み込まれ、直接チャットUIにレンダリングされます。バージョン1.12.1にはこの問題の修正が含まれています。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 24, 2026, midnight
Registration Date April 30, 2026, 12:26 p.m.
Last Update April 30, 2026, 12:26 p.m.
CVSS3.0 : 警告
Score 5.4
Vector CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N
Affected System
mintplexlabs
anythingllm 1.12.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年04月30日]
  掲載
April 30, 2026, 12:26 p.m.

NVD Vulnerability Information
CVE-2026-41318
Summary

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.

Publication Date April 24, 2026, 1:16 p.m.
Registration Date April 25, 2026, 4:07 a.m.
Last Update April 27, 2026, 11:53 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:* 1.12.1
Related information, measures and tools
Common Vulnerabilities List