CVE-2026-39422

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:maxkb:maxkb:*:*:*:*:-:*:*:*

History

20 Apr 2026, 17:34

Type Values Removed Values Added
References () https://github.com/1Panel-dev/MaxKB/commit/026a2d623e2aa5efa67c4834651e79d5d7cab1da - () https://github.com/1Panel-dev/MaxKB/commit/026a2d623e2aa5efa67c4834651e79d5d7cab1da - Patch
References () https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0 - () https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0 - Release Notes
References () https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-wf7p-3jq5-q52w - () https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-wf7p-3jq5-q52w - Exploit, Vendor Advisory
CPE cpe:2.3:a:maxkb:maxkb:*:*:*:*:-:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4
First Time Maxkb maxkb
Maxkb

14 Apr 2026, 14:16

Type Values Removed Values Added
References () https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-wf7p-3jq5-q52w - () https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-wf7p-3jq5-q52w -

14 Apr 2026, 01:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-14 01:16

Updated : 2026-04-20 17:34


NVD link : CVE-2026-39422

Mitre link : CVE-2026-39422

CVE.ORG link : CVE-2026-39422


JSON object : View

Products Affected

maxkb

  • maxkb
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')