Skip to main content
← All vulnerabilities
CVE-2026-34217GHSA-HG73-4W7G-Q96W

SandboxJS has a Sandbox Escape via Prop Object Leak in New Handler

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: partial

Summary

SandboxJS is a JavaScript sandboxing library. Prior to 0.8.36, a scope modification vulnerability exists in @nyariv/sandboxjs. The vulnerability allows untrusted sandboxed code to leak internal interpreter objects through the new operator, exposing sandbox scope objects in the scope hierarchy to untrusted code; an unexpected and undesired exploit. While this could allow modifying scopes inside the sandbox, code evaluation remains sandboxed and prototypes remain protected throughout the execution. This vulnerability is fixed in 0.8.36.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  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