Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as low-privilege user
-
DeliveryCraft POST to application endpoint
-
ExploitInject JavaScript in prologue via <html_rander> tags
-
InstallBackend stores unsanitized payload
-
C2Visitor loads chatbot interface
-
ExecuteFrontend renders with innerHTML
-
ImpactMalicious script executes in victim session
-
Step 8Session 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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 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
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-22192
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB