DOMShell split browser commands into navigation, read and write tiers. The eval command and domshell_eval MCP tool were absent from the write-command allowlist and were annotated as read-only. In the Chrome extension, however, eval and js both reached the same raw JavaScript Runtime.evaluate implementation, which had no side-effect barrier. As a result, a…
Inspect the ClaimsCase · 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:
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.
Evidence basis: CLM-2026-NOV21-DOMSHELL-EVAL-1 · CLM-2026-NOV21-DOMSHELL-EVAL-2 · CLM-ENR271-DOMSHELL-EVAL · DOMShell MCP eval read-tier bypass, patched July 8, 2026
At a glance
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…
Read the implicationsThe 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.
Limits and uncertaintyFull account
DOMShell split browser commands into navigation, read and write tiers. The eval command and domshell_eval MCP tool were absent from the write-command allowlist and were annotated as read-only. In the Chrome extension, however, eval and js both reached the same raw JavaScript Runtime.evaluate implementation, which had no side-effect barrier. As a result, a read-only tool call could change page DOM or application state without the permission the host expected for a write. Version 2.0.8 reclassifies eval as writable and aligns the tool annotation, command permission and user-facing description.
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.
Mechanism and trust boundary
- 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
- 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
- supportsDOMShell MCP eval read-tier bypass, patched July 8, 2026primary disclosure
Summary: shared JavaScript execution path; fix in 2.0.8
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
- supportsDOMShell MCP eval read-tier bypass, patched July 8, 2026primary disclosure
Description: Summary and affected code paths
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
- supportsDOMShell MCP eval read-tier bypass, patched July 8, 2026primary disclosure
Fix, upgrade path and timeline
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
- Nov 21, 2026 · Published version · first publication · revision 272