Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker authenticates to MaxKB
-
DeliveryInjects JavaScript payload into Name parameter
-
ExploitPayload stored or reflected in StaticHeadersMiddleware response
-
ExecutionVictim user views chat interface
-
ImpactMalicious script executes in victim's browser context
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 CVSS 3.5 score (low severity), this vulnerability presents moderate real-world risk when contextualized with available signals. The attack vector is network-based (AV:N) with low complexity (AC:L), meaning no special conditions are required for exploitation. Critically, the vulnerability requires prior authentication (PR:L) and user interaction (UI:R), which substantially reduces opportunistic attack surface but does not eliminate risk in trusted-user environments or scenarios where an attacker has legitimate access. The presence of publicly available exploit code (E:P) and official vendor patches (RL:O with high confidence RC:C) indicates this is a known, reproducible issue with clear remediation. The low CVSS reflects the limited scope and integrity-only impact, yet XSS in a chat interface could enable session hijacking, credential theft, or malware distribution within an organization. Priority should be determined by deployment context: high-trust internal deployments are lower risk; public-facing instances or those with many authenticated users warrant expedited patching. |
| Exploit ScenarioDerived | An authenticated attacker with access to MaxKB's chat interface submits a crafted payload containing JavaScript in the Name parameter (e.g., a stored XSS vector in chat metadata). When another authenticated user or an administrator views the chat interface, the malicious script executes in their browser without sanitization, potentially harvesting session cookies, stealing credentials entered in subsequent chat interactions, or performing actions on behalf of the victim within the MaxKB application. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 11, 2026
Cross-site scripting (XSS) in 1Panel-dev MaxKB up to version 2.2.1 allows authenticated remote attackers to inject malicious scripts via the Name argument in the StaticHeadersMiddleware component of the Public Chat Interface. The vulnerability requires user interaction (UI:R) and has low confidentiality impact but enables persistent code execution in user browsers. Publicly available exploit code exists, and vendor-released patch version 2.8.0 resolves the issue.
RemediationAI
Vendor-released patch: Upgrade to MaxKB version 2.8.0 or later. The fix is committed as 026a2d623e2aa5efa67c4834651e79d5d7cab1da and released at https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0. Organizations unable to immediately upgrade should restrict access to the chat interface via network policies or disable the public chat interface until patching is completed. Input validation for the Name parameter should be verified post-upgrade by security testing. Refer to the vendor advisory and pull request https://github.com/1Panel-dev/MaxKB/pull/4919 for detailed remediation context.
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 StaticHeadersMiddleware component (apps/common/middleware/static_headers_middleware.py) of MaxKB's public chat interface. The middleware fails to properly sanitize or validate the Name parameter before reflecting it in HTTP responses or rendered content, allowing attackers to inject arbitrary JavaScript. This is a classic stored or reflected XSS vulnerability (CWE-79) where user-controlled input flows directly to browser output without encoding. The affected product uses CPE cpe:2.3:a:1panel-dev:maxkb:*:*:*:*:*:*:*:* indicating all versions up to 2.2.1 are impacted.
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/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
7DescriptionCVE.org
A vulnerability was detected in 1Panel-dev MaxKB up to 2.2.1. This vulnerability affects the function StaticHeadersMiddleware of the file apps/common/middleware/static_headers_middleware.py of the component Public Chat Interface. The manipulation of the argument Name results in cross site scripting. The attack may be launched remotely. The exploit is now public and may be used. Upgrading to version 2.8.0 is able to resolve this issue. The patch is identified as 026a2d623e2aa5efa67c4834651e79d5d7cab1da. It is recommended to upgrade the affected component. 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.
MaxKB 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-21686
GHSA-4gvx-284h-fwmm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB