Skip to content

CVE-2026-39422 MaxKB has Stored XSS via ChatHeadersMiddleware

MediumCVSS 6.9 EPSS 0.22%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
maxkb < 2.8.0 2.8.0 Fixed
1Panel-dev MaxKB = < 2.8.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
1Panel-dev MaxKB = < 2.8.0 No fix listed
maxkb < 2.8.0 2.8.0

References