CVE 6.9 MEDIUM

MaxKB has Stored XSS via ChatHeadersMiddleware_CVE-2026-39422

6.9 / 10
MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

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.

Basic Information

ID CVE-2026-39422
Source GitHub_M
Published Apr 14, 2026 at 00:22

Affected Product

Vendor 1Panel-dev
Product MaxKB
Version < 2.8.0
Affected Versions 1Panel-dev MaxKB < 2.8.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.