Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-39426: MaxKB stored XSS via iframe_render tags in MdRenderer.vue

Identifier
CVE-2026-39426
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

MaxKB versions 2.7.1 and below contain a Stored XSS vulnerability in the frontend's MdRenderer.vue component, which parses custom <iframe_render> tags from LLM responses or Application Prologue configurations and bypasses standard Markdown sanitization. The unsanitized HTML is rendered by IframeRender.vue into an iframe with sandbox="allow-scripts allow-same-origin", allowing injected scripts to escape the iframe and run JavaScript in the parent window via window.parent. Because the Prologue displays to any user visiting an application's chat interface, the flaw can enable session hijacking, unauthorized actions and sensitive data exposure.

Mitigation

Fixed in 2.8.0.