CVE-2026-39425: MaxKB: Stored XSS via Unsanitized html_rander Tags in Markdown Rendering

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 that allows authenticated users to inject arbitrary HTML and JavaScript into the Application prologue (Opening Remarks) field by wrapping malicious payloads in <htmlrander> tags. The backend fails to sanitize or encode HTML entities in the prologue field when applications are created or updated via the /admin/api/workspace/{workspaceid}/application endpoint, storing the raw payload directly in the database. The frontend then renders this content using an innerHTML-equivalent mechanism, trusting <htmlrander>-wrapped content to be safe, which enables persistent DOM-based Stored XSS execution against any visitor who opens the affected chatbot interface. Exploitation can lead to session hijacking, unauthorized actions performed on behalf of victims (such as deleting workspaces or applications), and sensitive data exposure. 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·01:18 AM
Data Sourced
via MITRE·01:18 AM
DescriptionWeakness
Data Sourced
via NVD·02:16 AM
DescriptionSeverityWeaknessAffected 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-39425?

CVE-2026-39425 is classified as a High severity vulnerability due to its potential for allowing attackers to execute arbitrary scripts in the context of the application.

2

How do I fix CVE-2026-39425?

To fix CVE-2026-39425, upgrade MaxKB to version 2.8.0 or later, which addresses the vulnerability by sanitizing the HTML inputs.

3

Who is affected by CVE-2026-39425?

CVE-2026-39425 affects authenticated users of MaxKB versions 2.7.1 and below.

4

What type of vulnerability is CVE-2026-39425?

CVE-2026-39425 is a Stored Cross-Site Scripting (XSS) vulnerability that occurs due to unsanitized html_rander tags in Markdown rendering.

5

Can CVE-2026-39425 be exploited remotely?

Yes, CVE-2026-39425 can be exploited remotely by authenticated users who can inject malicious scripts into the application.

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