Skip to main content
← All vulnerabilities
CVE-2026-34208GHSA-2GG9-6P7W-6CPJ

SandboxJS: Sandbox integrity escape

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.8.36
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

SandboxJS is a JavaScript sandboxing library. Prior to 0.8.36, SandboxJS blocks direct assignment to global objects (for example Math.random = ...), but this protection can be bypassed through an exposed callable constructor path: this.constructor.call(target, attackerObject). Because this.constructor resolves to the internal SandboxGlobal function and Function.prototype.call is allowed, attacker code can write arbitrary properties into host global objects and persist those mutations across sandbox instances in the same process. This vulnerability is fixed in 0.8.36.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • nyariv SandboxJS

    fixed in 0.8.36

  • @nyariv/sandboxjsnpm

    fixed in 0.8.36

References 1

GitHub · nyariv/SandboxJS