# CVE-2026-6106: 1Panel-dev MaxKB Public Chat static_headers_middleware.py StaticHeadersMiddleware cross site scripting

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`
- 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.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-11T22:15:14.027Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-79, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was detected in 1Panel-dev MaxKB up to 2.2.1. This vulnerability affects the function StaticHeadersMiddleware of the file apps/common/middleware/static_headers_middleware.py of the component Public Chat Interface. The manipulation of the argument Name results in cross site scripting. The attack may be launched remotely. The exploit is now public and may be used. Upgrading to version 2.8.0 is able to resolve this issue. The patch is identified as 026a2d623e2aa5efa67c4834651e79d5d7cab1da. It is recommended to upgrade the affected component. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

(As written by CVE List.)

## Affected

- 1Panel-dev MaxKB: 2.2.0; 2.2.1 (not affected: 2.8.0)

## Every score

- VulDB: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:OF/RC:C`

## References

- <https://github.com/AnalogyC0de/public_exp/issues/23> (exploit, issue-tracking)
- <https://vuldb.com/vuln/356965> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/356965/cti> (permissions-required, signature)
- <https://vuldb.com/submit/781810> (third-party-advisory)
- <https://github.com/1Panel-dev/MaxKB/pull/4919> (issue-tracking, patch)
- <https://github.com/1Panel-dev/MaxKB/commit/026a2d623e2aa5efa67c4834651e79d5d7cab1da> (patch)
- <https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0> (patch)
- <https://github.com/1Panel-dev/MaxKB/> (product)

## Sources

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

---

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