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
- 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…
Affected software
| Software | Affected versions |
|---|---|
@apireno/domshellnpm · osv:npm:@apireno/domshell |
|
About @apireno/domshell
- Weekly downloads (npm)
- 805npm, 24 Nov 2026
This is the only vulnerability in @apireno/domshell in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-75518
- GitHub Advisory Database https://github.com/advisories/GHSA-vg83-hcp4-5qcc