# CVE-2026-39426: MaxKB: Stored XSS via Unsanitized iframe_render Parsing

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-04-14T01:25:10.592Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

MaxKB is an open-source AI assistant for enterprise. Versions 2.7.1 and below contain a Stored Cross-Site Scripting (XSS) vulnerability where the frontend's MdRenderer.vue component parses custom <iframe_render> tags from LLM responses or Application Prologue configurations, bypassing standard Markdown sanitization and XSS filtering. The unsanitized HTML content is passed to the IframeRender.vue component, which renders it directly into an <iframe> via the srcdoc attribute configured with sandbox="allow-scripts allow-same-origin". This can be a dangerous combination, allowing injected scripts to escape the iframe and execute JavaScript in the parent window using window.parent. Since the Prologue is rendered for any user visiting an application's chat interface, this results in a high-impact Stored XSS that can lead to session hijacking, unauthorized actions, and sensitive data exposure. This issue has been fixed in version 2.8.0.

(As written by CVE List.)

## Affected

- 1Panel-dev MaxKB: < 2.8.0
- maxkb maxkb: before 2.8.0

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `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`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-q2qg-43vq-f2wv> (vendor-advisory)
- <https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0> (release-notes)

## Sources

- CVE List: [CVE-2026-39426](https://www.cve.org/CVERecord?id=CVE-2026-39426), CVE Terms of Use, modified 2026-04-16
- NVD: [CVE-2026-39426](https://nvd.nist.gov/vuln/detail/CVE-2026-39426), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-39426 · Whole record: https://cve.day/CVE-2026-39426.json · Rebuilt by cve.day 2026-11-25T22:59:18.666Z
