CVE-2026-39422: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in 1Panel-dev MaxKB
MaxKB versions 2. 7. 1 and below contain a stored Cross-Site Scripting (XSS) vulnerability in the application name and icon fields. This vulnerability allows an attacker to inject arbitrary JavaScript that executes when a victim accesses the public chat interface. The issue is fixed in version 2. 8. 0.
AI Analysis
Technical Summary
CVE-2026-39422 is a stored XSS vulnerability in the open-source AI assistant MaxKB (versions prior to 2.8.0). The vulnerability arises because the ChatHeadersMiddleware inserts unescaped application name and icon data directly into the HTML response via string replacement on the public chat interface endpoint (/ui/chat/{access_token}). This improper neutralization of input (CWE-79) enables attackers to execute arbitrary JavaScript in the victim's browser context.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser when visiting the public chat interface, potentially leading to session hijacking, data theft, or other malicious actions within the scope of the user's session. The CVSS 4.0 base score is 6.9 (medium severity).
Mitigation Recommendations
Upgrade MaxKB to version 2.8.0 or later, where this vulnerability has been fixed. No other mitigation or temporary workaround is indicated in the available data.
CVE-2026-39422: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in 1Panel-dev MaxKB
Description
MaxKB versions 2. 7. 1 and below contain a stored Cross-Site Scripting (XSS) vulnerability in the application name and icon fields. This vulnerability allows an attacker to inject arbitrary JavaScript that executes when a victim accesses the public chat interface. The issue is fixed in version 2. 8. 0.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-39422 is a stored XSS vulnerability in the open-source AI assistant MaxKB (versions prior to 2.8.0). The vulnerability arises because the ChatHeadersMiddleware inserts unescaped application name and icon data directly into the HTML response via string replacement on the public chat interface endpoint (/ui/chat/{access_token}). This improper neutralization of input (CWE-79) enables attackers to execute arbitrary JavaScript in the victim's browser context.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's browser when visiting the public chat interface, potentially leading to session hijacking, data theft, or other malicious actions within the scope of the user's session. The CVSS 4.0 base score is 6.9 (medium severity).
Mitigation Recommendations
Upgrade MaxKB to version 2.8.0 or later, where this vulnerability has been fixed. No other mitigation or temporary workaround is indicated in the available data.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-07T00:23:30.595Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69dd958882d89c981f9c582a
Added to database: 4/14/2026, 1:16:56 AM
Last enriched: 4/14/2026, 1:32:09 AM
Last updated: 4/14/2026, 4:42:04 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.