All vulnerabilities

npm

CVE-2026-75518

DOMShell: domshell_eval classified as read-tier can execute side-effecting JavaScript without --allow-write

Severity
Medium
Published
19 Nov 2026
Last changed
19 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.0.8
Exploit chance
0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Incorrect privilege assignment (CWE-266)Incorrect authorization (CWE-863)
Also known as
GHSA-vg83-hcp4-5qcc
Sources
OSV.dev and GitHub

Description

The domshell_eval MCP tool (and the eval command inside domshell_execute) was classified as read-tier, allowing it to run without the --allow-write server flag. However, eval and the write-tier js command dispatch to the same handler in the extension and call CDP Runtime.evaluate with the raw expression string and no side-effect gate. Any JavaScript expression could therefore mutate DOM, window, or global state through domshell_eval without the operator's --allow-write authorization.

The tool description explicitly promised "(read-only) ... always available in read-only mode" — the misclassification contradicted the documented contract, not just an implicit one.

No new capability was exposed — the same write access was already available via domshell_js with --allow-write — but the tier misclassification meant:

  • MCP hosts (Claude Desktop, Cursor, etc.) rendered the wrong approval UI (readOnlyHint: true)
  • Server-side tier flags (--allow-write) misrepresented what an AI agent was…
From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
@apireno/domshellnpm · osv:npm:@apireno/domshell
  • Every version before 2.0.8

About @apireno/domshell

Weekly downloads (npm)
805npm, 24 Nov 2026

This is the only vulnerability in @apireno/domshell in our list.

References