Skip to content

AAK-MCP-EDGEEVER-CVE-2026-109557-001: EdgeEver image below 1.113.0: notebook names, memo titles and templates written through MCP run as script (stored XSS)

Severity
HIGH
Category
Supply Chain (supply-chain)
Scanner
agent_audit_kit/scanners/container_image_pins.py
Auto-fixable
No.
SARIF name
EdgeEverMcpStoredXss

What it detects

EdgeEver is a self-hosted knowledge base with a built-in MCP server. Its image, ghcr.io/tianma-if/edgeever, serves the API, the MCP tools and the web UI. Through 1.112.0 the web UI writes a dragged memo's label into innerHTML in setMemoDragPreview, so a notebook name or memo title set through the MCP create_notebook, rename_notebook or create_memo tools runs as script when the user drags it (CVE-2026-109557, CVSS 3.1 8.7, CWE-79). TemplatesPane renders a template's Markdown through marked into dangerouslySetInnerHTML with no sanitizer, so a template written with an API or MCP token runs script on preview (CVE-2026-109558, CVSS 3.1 8.7, CWE-79). In the desktop app that script can reach the privileged window.edgeeverDesktop bridge and its session token. An agent steered by prompt injection can plant either payload. Checked in the source: both sinks and the three MCP tools are in 1.33.0, the oldest image tag, and in 1.112.0, and 1.113.0 (6b5027e8) sets the drag label with textContent and passes template HTML through DOMPurify.

How to fix

Upgrade the ghcr.io/tianma-if/edgeever image to 1.113.0 or later and pin the tag, and update the desktop app, which renders the same views. Until then, give MCP and API tokens only to trusted agents, and check notebook names, memo titles and templates for HTML.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-MCP-EDGEEVER-CVE-2026-109557-001

Limitations

Reads ghcr.io/tianma-if/edgeever references below 1.113.0 in compose files, Kubernetes manifests, Helm values, Dockerfiles and MCP configs. The project's own compose file takes the tag from ${EDGE_EVER_VERSION:-latest}, and its Docker guide sets that variable in the shell (export EDGE_EVER_VERSION=vX.Y.Z), which no file states, so a deployment that follows the guide is not reported. Its one-command installer pulls latest and updates it daily, and latest was the 1.120.0 digest on 2026-10-15, so an untagged reference is not reported either. The desktop app and the Cloudflare deployment state no image tag and are not read.

References


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-MCP-EDGEEVER-CVE-2026-109557-001.md: the page then shows that text, with the registry reference appended under it.