Skip to main content

Maxkb CVE-2026-39425

| EUVDEUVD-2026-22192 MEDIUM
Basic XSS (CWE-80)
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
    Authenticate as low-privilege user
  2. Delivery
    Craft POST to application endpoint
  3. Exploit
    Inject JavaScript in prologue via <html_rander> tags
  4. Install
    Backend stores unsanitized payload
  5. C2
    Visitor loads chatbot interface
  6. Execute
    Frontend renders with innerHTML
  7. Impact
    Malicious script executes in victim session
  8. Step 8
    Session hijacking or data exfiltration

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

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

Impact

CVSS 5.1 (Medium) with network attack vector, low complexity, and low privileges required reflects moderate risk, but real-world impact is elevated due to the stored nature and persistence across all users. The CVSS vector (PR:L/UI:P) confirms authentication is required (low-privilege user) and user interaction is needed (victim must visit the chatbot), reducing immediate automated exploitation but increasing insider threat risk. The lack of explicit EPSS score in provided data prevents probability quantification, but stored XSS against enterprise AI assistants carries significant organizational risk: malicious scripts persist indefinitely until patched and execute in victim sessions with full application privileges. No public exploit code (POC) or CISA KEV confirmation is mentioned, indicating this is likely early-stage disclosure without active in-the-wild exploitation, reducing urgency slightly. However, the attack chain is trivial (inject via authenticated API call), the impact is confidentiality/integrity across users, and the fix is available, making this a clear remediation priority for any MaxKB deployment handling sensitive data.

Exploit ScenarioDerived

An authenticated user with application management permissions (low-privilege access) crafts a POST request to /admin/api/workspace/{workspace_id}/application with a prologue field containing <html_rander><script>fetch('/api/user/logout', {method: 'POST'})</script></html_rander>. The backend stores this raw payload in the database. When any other user opens the chatbot interface, the malicious script executes in their browser, logging them out or stealing session tokens. No public exploit code exists yet, but the attack requires only HTTP client tools and knowledge of the endpoint.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% 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 2.7.1 and below allows authenticated users to inject arbitrary JavaScript into the Application prologue field via <html_rander> tags, which the backend stores unsanitized and the frontend renders with innerHTML-equivalent mechanisms. Exploitation enables session hijacking, unauthorized workspace/application deletion, and sensitive data exposure against any visitor accessing the affected chatbot. Fixed in version 2.8.0.

RemediationAI

Vendor-released patch: MaxKB 2.8.0. Upgrade MaxKB to version 2.8.0 or later immediately via the official GitHub releases (https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0) or your package manager. For deployments unable to upgrade immediately, restrict API access to the /admin/api/workspace/{workspace_id}/application endpoint using network-level controls or authentication middleware to minimize the number of users who can inject payloads. Additionally, implement Content Security Policy (CSP) headers to prevent inline script execution as a temporary mitigation, though this does not replace patching. After upgrading, audit all applications created or modified in versions 2.7.1 and below for <html_rander>-wrapped payloads in the prologue field and remove or sanitize them manually if discovered.

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 is an open-source AI assistant platform (CPE: cpe:2.3:a:1panel-dev:maxkb) that provides enterprise chatbot functionality. The vulnerability exists in the /admin/api/workspace/{workspace_id}/application endpoint, which accepts and stores the prologue (Opening Remarks) field without HTML sanitization or entity encoding. The root cause is improper input validation and output encoding (CWE-80: Improper Neutralization of Argument Delimiters in a Command). The frontend trusts <html_rander>-wrapped content as safe and renders it using innerHTML or equivalent DOM manipulation, creating a persistent stored XSS condition. When authenticated users craft payloads wrapped in <html_rander> tags, the backend stores the raw HTML/JavaScript directly in the database, and subsequent page loads execute the malicious script in the context of any visitor's browser session.

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:18 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 that allows authenticated users to inject arbitrary HTML and JavaScript into the Application prologue (Opening Remarks) field by wrapping malicious payloads in <html_rander> 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/{workspace_id}/application endpoint, storing the raw payload directly in the database. The frontend then renders this content using an innerHTML-equivalent mechanism, trusting <html_rander>-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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 79% 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.1%
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.

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