← Back to CVEs
CVE-2026-39422
MEDIUM5.4
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.
CVE Details
CVSS v3.1 Score5.4
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionREQUIRED
Published4/14/2026
Last Modified4/20/2026
Sourcenvd
Honeypot Sightings0
Affected Products
maxkb:maxkb
Weaknesses (CWE)
CWE-79
References
https://github.com/1Panel-dev/MaxKB/commit/026a2d623e2aa5efa67c4834651e79d5d7cab1da(security-advisories@github.com)
https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0(security-advisories@github.com)
https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-wf7p-3jq5-q52w(security-advisories@github.com)
https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-wf7p-3jq5-q52w(134c704f-9b21-4f2e-91b3-4a467353bcc0)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.