{"id":"CVE-2026-39422","aliases":["CVE-2026-39422"],"related":[],"kind":"vulnerability","state":"published","title":"MaxKB has Stored XSS via ChatHeadersMiddleware","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"es","text":"MaxKB es un asistente de IA de código abierto para empresas. Las versiones 2.7.1 e inferiores contienen una vulnerabilidad de cross-site scripting almacenado (XSS) a través de los campos de nombre o icono de la aplicación al crear una aplicación. Cuando una víctima visita la interfaz de chat pública (/ui/chat/{access_token}), el ChatHeadersMiddleware recupera los datos de la aplicación e inserta directamente el nombre y el icono de la aplicación sin escapar en la respuesta HTML mediante reemplazo de cadena. Esto permite a un atacante ejecutar JavaScript arbitrario en el contexto del navegador de la víctima. Este problema ha sido solucionado en la versión 2.8.0.","source":"nvd"}],"published":"2026-04-14T00:22:50.958Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 2.8.0","status":"affected"}],"vendor":"1Panel-dev","product":"MaxKB","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.8.0"}],"vendor":"maxkb","product":"maxkb","cpe":"cpe:2.3:a:maxkb:maxkb:*:*:*:*:-:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-wf7p-3jq5-q52w","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/1Panel-dev/MaxKB/commit/026a2d623e2aa5efa67c4834651e79d5d7cab1da","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-04-14T13:32:38.264Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-39422","url":"https://www.cve.org/CVERecord?id=CVE-2026-39422","licence":"CVE Terms of Use","modified":"2026-04-14T13:32:41.804Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-39422","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39422","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:18.664Z","epss":{"score":0.00225,"percentile":0.14017,"date":"2026-12-01T12:00:22.000Z"}}