製品・ソフトウェアに関する情報
MaxKBにおけるクロスサイトスクリプティングの脆弱性
Title MaxKBにおけるクロスサイトスクリプティングの脆弱性
Summary

MaxKBは企業向けのオープンソースAIアシスタントです。バージョン2.7.1以下には、アプリケーション作成時のアプリケーション名またはアイコンフィールドを通じたストアドクロスサイトスクリプティング(XSS)脆弱性が含まれています。被害者が公開チャットインターフェース(/ui/chat/{access_token})を訪れると、ChatHeadersMiddlewareはアプリケーションデータを取得し、エスケープされていないアプリケーション名およびアイコンを文字列置換によって直接HTMLレスポンスに挿入します。これにより、攻撃者は被害者のブラウザコンテキストで任意のJavaScriptを実行できます。この問題はバージョン2.8.0で修正されました。

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

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

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

NVD Vulnerability Information
CVE-2026-39422
Summary

MaxKB is an open-source AI assistant for enterprise. Versions 2.7.1 and below contain a Stored Cross-Site Scripting (XSS) vulnerability through the application name or icon fields when creating an application. When a victim visits the public chat interface (/ui/chat/{access_token}), the ChatHeadersMiddleware retrieves the application data and directly inserts the unescaped application name and icon into the HTML response via string replacement. This allows an attacker to execute arbitrary JavaScript in the victim's browser context. This issue has been fixed in version 2.8.0.

Publication Date April 14, 2026, 10:16 a.m.
Registration Date April 15, 2026, 11:39 a.m.
Last Update April 21, 2026, 2:34 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:maxkb:maxkb:*:*:*:*:-:*:*:* 2.8.0
Related information, measures and tools
Common Vulnerabilities List