MaxKBにおけるクロスサイトスクリプティングの脆弱性
| Title |
MaxKBにおけるクロスサイトスクリプティングの脆弱性
|
| Summary |
MaxKBはエンタープライズ向けのオープンソースAIアシスタントです。バージョン2.7.1以下には、認証済みユーザーが悪意あるHTMLやJavaScriptをhtml_randerタグで囲んでアプリケーションのプロローグ(オープニングリマーク)フィールドに注入できる保存型クロスサイトスクリプティング(XSS)脆弱性が存在します。バックエンドは、/admin/api/workspace/{workspace_id}/applicationエンドポイントを介してアプリケーションが作成または更新される際にプロローグフィールドのHTMLエンティティをサニタイズまたはエンコードせず、生のペイロードを直接データベースに保存します。フロントエンドはこのコンテンツをinnerHTML相当のメカニズムでレンダリングし、html_randerで囲まれた内容を安全であると信頼するため、影響を受けたチャットボットインターフェースを開いた訪問者に対して永続的なDOMベースの保存型XSS攻撃を仕掛けることが可能になります。この脆弱性を悪用すると、セッションハイジャックや被害者に代わっての不正操作(例えばワークスペースやアプリケーションの削除)、機密データの漏洩などが発生する可能性があります。この問題はバージョン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
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-39425
| Summary |
MaxKB is an open-source AI assistant for enterprise. Versions 2.7.1 and below contain a Stored Cross-Site Scripting (XSS) vulnerability that allows authenticated users to inject arbitrary HTML and JavaScript into the Application prologue (Opening Remarks) field by wrapping malicious payloads in <html_rander> tags. The backend fails to sanitize or encode HTML entities in the prologue field when applications are created or updated via the /admin/api/workspace/{workspace_id}/application endpoint, storing the raw payload directly in the database. The frontend then renders this content using an innerHTML-equivalent mechanism, trusting <html_rander>-wrapped content to be safe, which enables persistent DOM-based Stored XSS execution against any visitor who opens the affected chatbot interface. Exploitation can lead to session hijacking, unauthorized actions performed on behalf of victims (such as deleting workspaces or applications), and sensitive data exposure. This issue has been fixed in version 2.8.0.
|
| Publication Date |
April 14, 2026, 11:16 a.m. |
| Registration Date |
April 15, 2026, 11:39 a.m. |
| Last Update |
April 21, 2026, 2:31 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