Stored XSS Vulnerability in MaxKB AI Assistant
CVE-2026-39422
6.9MEDIUM
What is CVE-2026-39422?
MaxKB, the open-source AI assistant developed by 1Panel, has a Stored Cross-Site Scripting (XSS) vulnerability in versions 2.7.1 and earlier. The flaw allows attackers to insert malicious JavaScript through the application name or icon fields when creating an application. If a user accesses the public chat interface, the ChatHeadersMiddleware improperly includes these unescaped values into the HTML response, resulting in the execution of arbitrary JavaScript in the victim's browser. This vulnerability was addressed in version 2.8.0 of MaxKB.
Affected Version(s)
MaxKB < 2.8.0
