News · DiggingBeagle record

DOMShell’s read-only MCP eval used the same browser execution engine as writable JavaScript

The July repair moved eval into the write approval tier; November CVE visibility is not a new incident date.

Published
Nov 21, 2026

The report

DOMShell's MCP tool interface advertised domshell_eval as a read operation, yet the underlying call used Chrome's Runtime.evaluate machinery, the same execution channel exposed through the explicitly writable JavaScript tool. The maintainer security advisory explains that a caller with the tool available but without the --allow-write flag could still execute JavaScript that changes browser page state. Version 2.0.8 moved eval to the write-permission tier on July 8, 2026. The later November CVE indexing should not be described as an exploit first found this week.

The bypass relied on the distinction between a tool's authorization classification and the operations its implementation actually allowed. A function named eval can return a value, which makes it convenient to display as a read, while the JavaScript being evaluated can also change the DOM or invoke browser actions. A model may have been instructed to limit itself to read-only tools and still reach an operation whose side effects were never independently checked.

This finding does not establish privilege escalation beyond the explicitly writable domshell_js capability on systems that already permitted that tool. Its significance is narrower and more testable: a host relying on the read tier to avoid approval would have made a wrong authorization decision for one tool path. The advisory does not report an affected customer, a successful malicious webpage attack or a population-level measure of misuse.

The useful remediation test is to run side-effecting eval expressions with write approval disabled and verify that the tool itself rejects them, regardless of the model's choice or the response it intends to return. Moving the annotation and host gate together changes the enforcement decision; documenting eval as dangerous without changing the gate would not.

Research behind this