CVE-2026-34217

High

Description

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.

SeverityHigh
CVSS7.2
Exploit probability—
ProductNyariv Sandboxjs
PublishedApr 6, 2026
First seenApr 6, 2026
Weakness typeCWE-668CWE-668

How to fix

Update
  • nyariv sandboxjs0.8.36 or later
  • @nyariv/sandboxjs0.8.36 or later

Affected products

ProductAffected versionsFixed in
nyariv sandboxjsv < 0.8.360.8.36
@nyariv/sandboxjsnpmv < 0.8.360.8.36

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.