CVE-2026-39422: MaxKB has Stored XSS via ChatHeadersMiddleware

Published Apr 14, 2026
·
Updated

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/{accesstoken}), 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.

Affected Software

2 affected components
MaxKB MaxKB<=2.7.1
MaxKB MaxKB<2.8.0

Event History

Apr 14, 2026
CVE Published
via MITRE·12:22 AM
Data Sourced
via MITRE·12:22 AM
DescriptionWeakness
Data Sourced
via NVD·01:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-39422?

CVE-2026-39422 is classified as a high severity Stored Cross-Site Scripting (XSS) vulnerability.

2

How do I fix CVE-2026-39422?

To fix CVE-2026-39422, upgrade MaxKB to version 2.8.0 or above.

3

What versions of MaxKB are affected by CVE-2026-39422?

MaxKB versions 2.7.1 and below are affected by CVE-2026-39422.

4

What is the impact of CVE-2026-39422?

CVE-2026-39422 allows attackers to execute arbitrary JavaScript in the context of the victim's browser, potentially leading to account hijacking or data theft.

5

How does the Stored XSS vulnerability in CVE-2026-39422 occur?

The Stored XSS vulnerability in CVE-2026-39422 occurs through malicious input in the application name or icon fields during application creation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203