Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-39422— MaxKB has Stored XSS via ChatHeadersMiddleware

Quick assessment

Affected
1Panel-dev MaxKB
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MaxKB是1Panel-dev开源的一款基于大语言模型和 RAG 的开源知识库问答系统。 MaxKB 2.7.1及之前版本存在安全漏洞,该漏洞源于创建应用时应用名称或图标字段存在存储型跨站脚本,可能导致攻击者在受害者浏览器环境中执行任意JavaScript。

AI Predicted 6.1 Difficulty: Easy EPSS 0.30% · P21
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-39422

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
MaxKB has Stored XSS via ChatHeadersMiddleware
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
MaxKB 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
MaxKB是1Panel-dev开源的一款基于大语言模型和 RAG 的开源知识库问答系统。 MaxKB 2.7.1及之前版本存在安全漏洞,该漏洞源于创建应用时应用名称或图标字段存在存储型跨站脚本,可能导致攻击者在受害者浏览器环境中执行任意JavaScript。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
1Panel-dev MaxKB < 2.8.0 -

II. Public POCs for CVE-2026-39422

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-39422

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-39422 (2)

Same Patch Batch · 1Panel-dev · 2026-04-14 · 10 CVEs total

CVE-2026-39420 6.3 MEDIUM MaxKB: Sandbox escape via LD_PRELOAD bypass
CVE-2026-39421 6.3 MEDIUM MaxKB: Sandbox escape via ctypes and unhooked SYS_pkey_mprotect
CVE-2026-39418 5.0 MEDIUM MaxKB: SSRF via sandbox network hook bypass
CVE-2026-39417 4.6 MEDIUM MaxKB: RCE via MCP stdio command injection in workflow engine
CVE-2026-39419 3.1 LOW MaxKB: Sandbox Result Validation Bypass via Tool Output Spoofing
CVE-2026-39424 MaxKB has CSV Injection in its Application Chat Export Functionality
CVE-2026-39423 Stored XSS via Eval Injection in EchartsRander Component
CVE-2026-39425 MaxKB: Stored XSS via Unsanitized html_rander Tags in Markdown Rendering
CVE-2026-39426 MaxKB: Stored XSS via Unsanitized iframe_render Parsing

IV. Related Vulnerabilities

V. Comments for CVE-2026-39422

No comments yet


Leave a comment