CVE 6.9 MEDIUM

SandboxJS has a Sandbox Escape via Prop Object Leak in New Handler_CVE-2026-34217

6.9 / 10
MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

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.

Basic Information

ID CVE-2026-34217
Source GitHub_M
Published Apr 6, 2026 at 15:12
Modified Apr 6, 2026 at 15:40

Affected Product

Vendor nyariv
Product SandboxJS
Version < 0.8.36
Affected Versions nyariv SandboxJS < 0.8.36

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.