Skip to main content
Vulnerability Database/CVE-2026-109557

CVE-2026-109557: EdgeEver Stored XSS Vulnerability

CVE-2026-109557 is a stored XSS vulnerability in EdgeEver through version 1.112.0 affecting setMemoDragPreview. Attackers can inject malicious scripts through notebook names or memo titles to access session tokens.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-109557 Overview

CVE-2026-109557 is a stored cross-site scripting (XSS) vulnerability [CWE-79] in EdgeEver through version 1.112.0. The flaw resides in the setMemoDragPreview function, where notebook names and memo titles are rendered without proper sanitization. Attackers can inject malicious script payloads by setting crafted names through the Model Context Protocol (MCP) tools create_notebook, rename_notebook, or create_memo. When a user drags the affected notebook or memo, the injected script executes with access to the desktop bridge's session token.

Critical Impact

Script execution via the drag preview grants attackers access to the desktop bridge's session token, enabling potential compromise of the EdgeEver desktop client session.

Affected Products

  • EdgeEver through version 1.112.0
  • EdgeEver desktop client (renderer and desktop bridge components)
  • EdgeEver MCP tooling exposing create_notebook, rename_notebook, and create_memo

Discovery Timeline

  • 2026-10-12 - CVE-2026-109557 published to the National Vulnerability Database (NVD)
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-109557

Vulnerability Analysis

The vulnerability stems from unsafe rendering within the setMemoDragPreview helper located in apps/web/src/lib/app-helpers.ts. Notebook names and memo titles supplied through MCP tools are stored and later injected into a drag preview element without encoding. When the user initiates a drag operation, the browser parses the injected markup and executes the embedded script in the renderer context.

Because EdgeEver is an Electron-style desktop application, the renderer has access to a desktop bridge that holds a session token. Script execution in this context exposes that token to the attacker, enabling further abuse of the bridge APIs.

Root Cause

The root cause is improper neutralization of user-controlled strings prior to insertion into HTML [CWE-79]. The setMemoDragPreview routine builds the drag preview using unescaped notebook or memo names, allowing HTML and script content to be rendered verbatim.

Attack Vector

An authenticated attacker with access to the MCP interface invokes create_notebook, rename_notebook, or create_memo with a name containing a script payload. The payload persists in storage. When any user drags the affected item in the EdgeEver UI, the drag preview renders the payload, executing script with access to the desktop bridge's session token.

text
// Security patch excerpt - apps/desktop/src/main/acp-path-store.mjs
// fix(security): harden renderer and desktop execution boundaries
export const validateTrustedAcpPath = async (filename, { excludedRoot } = {}) => {
  const selected = await realpath(filename);
  if (excludedRoot) {
    const root = await realpath(excludedRoot);
    const child = path.relative(root, selected);
    if (!child || (child !== ".." && !child.startsWith(`..${path.sep}`) && !path.isAbsolute(child))) {
      throw new Error("Choose an ACP executable outside EdgeEver's client data directory");
    }
  }
  const info = await stat(selected);
  if (!info.isFile()) throw new Error("The ACP executable must be a file");
  if (process.platform !== "win32") {
    if (info.mode & 0o022) throw new Error("The ACP executable must not be writable by other users");
    for (let directory = path.dirname(selected);; directory = path.dirname(directory)) {
      if ((await stat(directory)).mode & 0o022) throw new Error("The ACP executable directory must not be writable by other users");
      if (path.dirname(directory) === directory) break;
    }
  }
  return selected;
};

Source: GitHub EdgeEver Commit Details

This patch excerpt is part of the broader hardening commit that tightens renderer and desktop execution boundaries, including path validation for ACP executables outside renderer-writable directories.

Detection Methods for CVE-2026-109557

Indicators of Compromise

  • Notebook or memo names containing HTML markup, <script> tags, or JavaScript event handler attributes such as onerror, onload, or onclick.
  • MCP tool calls to create_notebook, rename_notebook, or create_memo originating from unexpected clients or containing encoded script payloads.
  • Unexpected outbound requests from the EdgeEver desktop client that correlate with session token exfiltration.

Detection Strategies

  • Inspect stored notebook and memo records for names containing HTML special characters (<, >, ", ') or JavaScript URI schemes.
  • Enable logging on the MCP interface and review calls to create_notebook, rename_notebook, and create_memo for anomalous payloads.
  • Monitor the EdgeEver renderer process for script execution events sourced from drag-and-drop operations.

Monitoring Recommendations

  • Alert on EdgeEver desktop processes making network connections to hosts not associated with configured AI providers.
  • Track MCP API usage patterns to baseline expected notebook and memo creation activity.
  • Review commit 6b5027e and VulnCheck Advisory for EdgeEver for additional detection context.

How to Mitigate CVE-2026-109557

Immediate Actions Required

  • Upgrade EdgeEver to a version released after 1.112.0 that includes the hardening commit 6b5027e8b4becbee0c0de7cd1a3d04af78ca87ca.
  • Audit existing notebooks and memos for names containing HTML or script content and sanitize or remove affected entries.
  • Restrict access to MCP tools create_notebook, rename_notebook, and create_memo to trusted clients only.

Patch Information

The maintainers published commit 6b5027e titled fix(security): harden renderer and desktop execution boundaries, which addresses the drag preview injection and related renderer/desktop bridge issues. Related tracking appears in GitHub EdgeEver Issue #534 and GitHub EdgeEver Issue #546. Review the VulnCheck Advisory for EdgeEver for the full advisory record.

Workarounds

  • Disable the MCP integration if it is not required in your deployment.
  • Avoid dragging notebooks or memos created by untrusted users or imported from untrusted sources until patched.
  • Operate the EdgeEver desktop client under a least-privilege user account to reduce the impact of session token compromise.
bash
# Verify installed EdgeEver version and update to a patched release
npm ls edgeever
# Pull latest source and build after the hardening commit
git clone https://github.com/tianma-if/edgeever.git
cd edgeever
git log --oneline 6b5027e8b4becbee0c0de7cd1a3d04af78ca87ca -1

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.