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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-hg73-4w7g-q96w Exploit, Mitigation, Vendor Advisory
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-hg73-4w7g-q96w Exploit, Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.9 · nyarivNVD modified 2026-10-26 22:10
Affected (CPE criteria) 1
cpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:*
References 2
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-hg73-4w7g-q96w Exploit, Mitigation, Vendor Advisory
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-hg73-4w7g-q96w Exploit, Mitigation, Vendor Advisory