The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-39426

CVE-2026-39426: MaxKB AI Assistant Stored XSS Vulnerability

CVE-2026-39426 is a stored XSS vulnerability in MaxKB AI assistant versions 2.7.1 and below that allows attackers to execute malicious scripts via iframe rendering. This article covers the technical details, affected versions, and mitigation.

Published: April 17, 2026

CVE-2026-39426 Overview

CVE-2026-39426 is a Stored Cross-Site Scripting (XSS) vulnerability in MaxKB, an open-source AI assistant for enterprise environments. The vulnerability exists in versions 2.7.1 and below where the frontend's MdRenderer.vue component parses custom <iframe_render> tags from LLM responses or Application Prologue configurations, effectively bypassing standard Markdown sanitization and XSS filtering mechanisms.

The unsanitized HTML content is passed to the IframeRender.vue component, which renders it directly into an <iframe> element via the srcdoc attribute configured with sandbox="allow-scripts allow-same-origin". This sandbox configuration creates a dangerous combination that allows injected scripts to escape the iframe and execute JavaScript in the parent window using window.parent. Since the Application Prologue is rendered for any user visiting an application's chat interface, this results in a high-impact Stored XSS vulnerability.

Critical Impact

This Stored XSS vulnerability can lead to session hijacking, unauthorized actions on behalf of authenticated users, and exposure of sensitive enterprise data through malicious script execution in the application's chat interface.

Affected Products

  • MaxKB version 2.7.1 and all prior versions
  • MaxKB deployments using the MdRenderer.vue component with custom iframe_render tags
  • Enterprise AI assistant implementations utilizing Application Prologue configurations

Discovery Timeline

  • 2026-04-14 - CVE-2026-39426 published to NVD
  • 2026-04-14 - Last updated in NVD database

Technical Details for CVE-2026-39426

Vulnerability Analysis

This Stored XSS vulnerability stems from insufficient input sanitization in MaxKB's frontend rendering pipeline. The application processes custom <iframe_render> tags that originate from two potential sources: LLM responses and Application Prologue configurations. These custom tags are designed to enable rich content rendering but introduce a significant security gap by bypassing the standard Markdown sanitization that would normally prevent XSS attacks.

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), which represents a fundamental failure to sanitize user-controllable input before it is rendered in a web context. The network-based attack vector means that any authenticated user with the ability to configure Application Prologues or influence LLM responses can inject malicious payloads that persist and execute for all visitors.

Root Cause

The root cause lies in the combination of two design decisions in the IframeRender.vue component. First, the component renders untrusted HTML content directly into an iframe using the srcdoc attribute without proper sanitization. Second, the sandbox attribute is configured with sandbox="allow-scripts allow-same-origin", which is a particularly dangerous combination.

While the sandbox attribute is intended to restrict iframe behavior, the simultaneous allowance of both allow-scripts and allow-same-origin effectively nullifies the sandbox's security benefits. This configuration allows scripts within the iframe to access the parent window's DOM through window.parent, enabling complete escape from the sandboxed context and arbitrary JavaScript execution in the main application context.

Attack Vector

The attack can be executed through two primary vectors. In the first scenario, an attacker with administrative access configures a malicious Application Prologue containing an <iframe_render> tag with embedded JavaScript. This payload then executes for every user who visits the chat interface. In the second scenario, if the LLM can be manipulated to include malicious <iframe_render> tags in its responses (through prompt injection or compromised model behavior), the XSS payload will execute when users view those responses.

Once the malicious script executes, it can leverage window.parent to access the parent window context, steal session tokens, perform unauthorized API calls, exfiltrate sensitive data displayed in the interface, or redirect users to phishing pages.

Detection Methods for CVE-2026-39426

Indicators of Compromise

  • Presence of <iframe_render> tags in Application Prologue configurations containing script elements or event handlers
  • LLM responses containing unexpected <iframe_render> tags with embedded JavaScript
  • Unusual JavaScript execution patterns originating from iframe elements within the chat interface
  • Unexpected outbound network requests from the MaxKB application to unknown domains

Detection Strategies

  • Review Application Prologue configurations for any <iframe_render> tags containing <script> elements, javascript: URIs, or inline event handlers
  • Implement Content Security Policy (CSP) monitoring to detect violations that may indicate XSS exploitation attempts
  • Monitor browser console logs and network traffic for signs of script execution attempting to access window.parent
  • Audit user activity logs for unauthorized configuration changes to Application Prologues

Monitoring Recommendations

  • Deploy web application firewall (WAF) rules to detect and block requests containing suspicious iframe_render payloads
  • Enable logging and alerting on changes to Application Prologue configurations within the MaxKB administrative interface
  • Monitor for unusual API call patterns that could indicate session hijacking or unauthorized actions performed via XSS

How to Mitigate CVE-2026-39426

Immediate Actions Required

  • Upgrade MaxKB to version 2.8.0 immediately, which contains the fix for this vulnerability
  • Review and audit all existing Application Prologue configurations for malicious content
  • Implement Content Security Policy headers to restrict script execution sources
  • Consider temporarily disabling custom iframe_render functionality if upgrade is not immediately possible

Patch Information

The vulnerability has been addressed in MaxKB version 2.8.0. Organizations should prioritize upgrading to this version to eliminate the XSS vulnerability. The fix is documented in the GitHub Release v2.8.0 and detailed in the GitHub Security Advisory GHSA-q2qg-43vq-f2wv.

Workarounds

  • Sanitize all Application Prologue configurations by removing any <iframe_render> tags until the upgrade can be completed
  • Implement network-level controls to restrict access to the MaxKB administrative interface to trusted networks only
  • Deploy Content Security Policy headers with strict script-src directives to limit JavaScript execution contexts
  • Consider using a web application firewall to filter out potentially malicious iframe_render content
bash
# Content Security Policy header example for nginx
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; frame-src 'none'; frame-ancestors 'self';" always;

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechMaxkb

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Release v2.8.0

  • GitHub Security Advisory GHSA-q2qg-43vq-f2wv
  • Related CVEs
  • CVE-2026-39422: MaxKB AI Assistant Stored XSS Vulnerability

  • CVE-2026-39425: MaxKB Stored XSS Vulnerability

  • CVE-2026-39423: MaxKB AI Assistant XSS Vulnerability

  • CVE-2026-39419: MaxKB Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English