Skip to main content

Maxkb CVE-2026-39426

| EUVDEUVD-2026-22193 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-14 GitHub_M
5.1
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Inject malicious <iframe_render> tag via Prologue
  2. Delivery
    MdRenderer parses tag without sanitization
  3. Exploit
    IframeRender renders HTML to srcdoc
  4. Install
    JavaScript executes in iframe context
  5. C2
    Script calls window.parent to escape sandbox
  6. Execute
    Arbitrary code runs in parent window
  7. Impact
    Session hijacking and data exfiltration

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

Despite the moderate CVSS 5.1 score, this vulnerability carries elevated real-world risk due to multiple amplifying factors. The CVSS vector shows AV:N (network-accessible), AC:L (low complexity), and PR:L (requires authentication), but UI:P (user interaction required) and VC:L/VI:L (limited confidentiality and integrity impacts) constrain the score. However, CVSS fails to capture the severity of stored XSS: the payload persists server-side and automatically executes for any user visiting the affected chat interface without requiring additional interaction beyond normal application use. The vulnerability's impact classification in the assessment (Information Disclosure, XSS tags) confirms data exfiltration and session hijacking potential. SSVC analysis shows exploitation is straightforward (attack requires only crafted input and user navigation), technically feasible (no mitigations mentioned), and impactful on confidentiality (session tokens, user data). The low CVSS-to-real-risk discrepancy occurs because the scoring emphasizes limited per-user impact (VC:L), but stored XSS affecting all application visitors creates organizational-scale exposure. Organizations hosting MaxKB instances should prioritize patching as a high business risk despite numerical CVSS.

Exploit ScenarioDerived

An authenticated user (such as an application administrator or content contributor) crafts a malicious Application Prologue configuration containing a <iframe_render> tag with injected JavaScript, such as a script that exfiltrates session cookies or redirects to a phishing site. When any user visits the chat interface to interact with the MaxKB application, the stored payload executes automatically in their browser context, stealing their session token or performing actions on their behalf without visible indication. The attack requires no additional user interaction beyond normal application use and affects all subsequent visitors until the payload is removed.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 14, 2026

Stored Cross-Site Scripting in MaxKB's MdRenderer component allows authenticated users to inject malicious scripts via custom <iframe_render> tags in LLM responses or Application Prologue configurations, leading to JavaScript execution in the parent window context with access to session tokens and sensitive data. MaxKB versions 2.7.1 and earlier are affected; the vulnerability is fixed in version 2.8.0. The attack requires user interaction (UI:P) but impacts all visitors to an affected application's chat interface, making it a high-impact stored XSS despite the moderate CVSS 5.1 score.

RemediationAI

Vendor-released patch: MaxKB version 2.8.0 fixes the XSS vulnerability; upgrade all affected instances immediately. The patch removes or properly sanitizes custom <iframe_render> tag processing and hardens iframe sandbox configuration. Organizations unable to patch immediately should disable or restrict access to the Application Prologue feature and audit LLM response templates to prevent injection of custom tags. Monitor server logs for unusual <iframe_render> tag injection attempts. Apply the upgrade following your deployment process as documented in the MaxKB release notes at https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0.

Affected VersionsENISA

MaxKB < 2.8.0

Affected Packages

euvd maxkb fix: 2.8.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MaxKB's frontend rendering pipeline uses the MdRenderer.vue component to parse Markdown content from LLM responses and Application Prologue configurations. The component extracts and processes custom <iframe_render> tags without proper sanitization, then passes the unsanitized HTML to IframeRender.vue, which renders it directly into an <iframe> element using the srcdoc attribute. The iframe is configured with sandbox="allow-scripts allow-same-origin", which enables JavaScript execution while permitting cross-origin access within the same document. This combination allows injected scripts to use window.parent to escape sandbox isolation and execute arbitrary code in the parent window context, where they can access session storage, authentication tokens, and sensitive application data. The root cause is inadequate input validation (CWE-79: Improper Neutralization of Input During Web Page Generation) combined with unsafe iframe sandbox configuration.

Know when Maxkb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.1 MEDIUM
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

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch released
Apr 20, 2026 - 17:31 nvd
Patch available
Patch available
Apr 16, 2026 - 05:29 EUVD
2.8.0
CVSS changed
Apr 14, 2026 - 02:22 NVD
5.1 (MEDIUM)
CVE Published
Apr 14, 2026 - 01:25 nvd
MEDIUM 5.1

DescriptionCVE.org

MaxKB is an open-source AI assistant for enterprise. Versions 2.7.1 and below contain a Stored Cross-Site Scripting (XSS) vulnerability where the frontend's MdRenderer.vue component parses custom <iframe_render> tags from LLM responses or Application Prologue configurations, bypassing standard Markdown sanitization and XSS filtering. The unsanitized HTML content is passed to the IframeRender.vue component, which renders it directly into an <iframe> via the srcdoc attribute configured with sandbox="allow-scripts allow-same-origin". This can be a dangerous combination, allowing injected scripts to escape the iframe and execute JavaScript in the parent window using window.parent. Since the Prologue is rendered for any user visiting an application's chat interface, this results in a high-impact Stored XSS that can lead to session hijacking, unauthorized actions, and sensitive data exposure. This issue has been fixed in version 2.8.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Related Vulnerabilities in MaxKB XSS Vulnerabilities

View all 3

More in Maxkb

View all
CVE-2025-48950 HIGH POC
8.8 Jun 03

MaxKB prior to version 1.10.8-lts contains an incomplete sandbox implementation that only blacklists binary execution in

CVE-2026-77521 CRITICAL
10.0 Sep 21

Command injection in MaxKB before 2.10.5-lts allows unauthenticated remote attackers to execute arbitrary shell commands

CVE-2025-66419 CRITICAL
10.0 Dec 11

Sandbox escape and privilege escalation in MaxKB 2.3.1 and earlier allow an attacker who can submit or trigger custom Py

CVE-2026-56779 MEDIUM POC
5.3 Jun 25

Server-side request forgery in MaxKB before 2.10.0 allows any authenticated user holding the default workspace USER role

CVE-2026-79916 CRITICAL
9.1 Sep 21

Authenticated workspace members on MaxKB deployments prior to 2.10.5-lts can escalate to root-level command execution by

CVE-2026-54149 HIGH
8.8 Jul 10

OS command injection in MaxKB (1Panel-dev's open-source enterprise AI assistant) before 2.10.0-lts lets an authenticated

CVE-2025-64511 HIGH
8.8 Nov 13

Server-side request forgery in MaxKB (open-source AI assistant from 1Panel-dev) allows an authenticated user with permis

CVE-2025-66446 HIGH
7.5 Dec 11

Privilege escalation in MaxKB 2.3.1 and earlier allows an authenticated, low-privileged user to overwrite the built-in d

CVE-2026-44847 HIGH
7.5 May 26

Authentication bypass in MaxKB (1Panel-dev) versions prior to 2.9.0 allows remote unauthenticated attackers to invoke we

CVE-2026-77523 HIGH
7.4 Sep 21

Cross-workspace read and modification of model parameter defaults in MaxKB 2.10.3-lts and earlier is possible for an aut

CVE-2026-39420 HIGH
7.4 Apr 14

MaxKB versions 2.7.1 and below allow authenticated users with tool execution privileges to bypass the LD_PRELOAD-based s

CVE-2026-129998 HIGH
7.3 Nov 20

MaxKB releases prior to 2.10.7-lts evaluate attacker-supplied JavaScript stored in a custom tool's Init Param definition

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy