Case · DiggingBeagle record

DOMShell MCP read-only eval could execute browser JavaScript mutations

The MCP tool was labeled read-only even though it called the same CDP Runtime.evaluate path as the explicitly writable JavaScript tool.

Published by DiggingBeagle:

Scope

DOMShell MCP server before 2.0.8; a caller can use domshell_eval under a host policy that has not granted --allow-write.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
demonstrated
Evidence
Grade B
Remediation
patch available
AI role
AGAINST AI
Basis and provenance

Vendor or researcher primary evidence establishes the stated mechanism and its bounds; the public record does not support a population-wide impact score, prevalence or generalization to installations without the prerequisites.

Assessed Nov 21, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Read-labeled eval accepted

    A caller without --allow-write invokes domshell_eval, which is advertised as a read-only tool.

    Boundary: MCP tool annotation -> host approval tier

  2. 02

    Unrestricted browser evaluation

    The same Chrome Runtime.evaluate path used for JavaScript execution can change page state despite the read-only approval decision.

    Boundary: host approval -> browser execution side effect

Claims & evidence

CLM-ENR271-DOMSHELL-EVALThe original DOMShell advisory says that both eval and js reached Chrome Runtime.evaluate, and that v2.0.8 moved eval into the write-permission tier.supported

Basis: reported finding

Link to claim
CLM-2026-NOV21-DOMSHELL-EVAL-1The original DOMShell advisory says domshell_eval reached CDP Runtime.evaluate without a side-effect gate despite being classified as read-only.supported

Basis: reported finding

Link to claim
CLM-2026-NOV21-DOMSHELL-EVAL-2DOMShell 2.0.8 changed the eval command and MCP annotation to the write tier on July 8, 2026.supported

Basis: reported finding

Link to claim

Implications

A host that withholds DOMShell write permissions can still encounter page mutation if it trusts the old eval annotation; the underlying Chrome Runtime.evaluate implementation, not the label readOnlyHint, defines the real capability. Version 2.0.8 changes the permission classification rather than proving that arbitrary browser scripts became harmless. This July repair should not be counted as a new November exploit.

Controls and mitigations

  • Upgrade DOMShell MCP to at least 2.0.8 and treat eval as a write operation; use specifically read-only DOM tools for inspection.
  • Require the server-side authorization tier to reflect actual browser API side effects, not a model-visible readOnlyHint annotation.

Unknowns and contradictions

  • The maintainer disclosed and patched this issue on July 8; November 18 was the later CVE publication date. The bypass does not grant capabilities beyond those already authorized through domshell_js, and no actual customer compromise is reported.

Sources and citation

Material revision history

  1. Nov 21, 2026 · Published version · first publication · revision 272