# CVE-2026-39425: MaxKB: Stored XSS via Unsanitized html_rander Tags in Markdown Rendering

- 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.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-04-14T01:18:42.895Z
- Modified: 2026-10-26T22:10:00.163Z
- Weaknesses: CWE-80
- 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 that allows authenticated users to inject arbitrary HTML and JavaScript into the Application prologue (Opening Remarks) field by wrapping malicious payloads in <html_rander> tags. The backend fails to sanitize or encode HTML entities in the prologue field when applications are created or updated via the /admin/api/workspace/{workspace_id}/application endpoint, storing the raw payload directly in the database. The frontend then renders this content using an innerHTML-equivalent mechanism, trusting <html_rander>-wrapped content to be safe, which enables persistent DOM-based Stored XSS execution against any visitor who opens the affected chatbot interface. Exploitation can lead to session hijacking, unauthorized actions performed on behalf of victims (such as deleting workspaces or applications), 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-3rq5-pgm7-pvp4> (vendor-advisory)
- <https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0> (release-notes)

## Sources

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

---

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