| タイトル | mintplexlabsのanythingllmにおける複数の脆弱性 |
|---|---|
| 概要 | 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にはこの問題の修正が含まれています。 |
| 想定される影響 | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年4月24日0:00 |
| 登録日 | 2026年4月30日12:26 |
| 最終更新日 | 2026年4月30日12:26 |
| CVSS3.0 : 警告 | |
| スコア | 5.4 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N |
| mintplexlabs |
| anythingllm 1.12.1 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年04月30日] 掲載 |
2026年4月30日12:26 |
| 概要 | 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. |
|---|---|
| 公表日 | 2026年4月24日13:16 |
| 登録日 | 2026年4月25日4:07 |
| 最終更新日 | 2026年4月27日23:53 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:* | 1.12.1 | ||||