High severity7.2NVD Advisory· Published Apr 6, 2026· Updated Apr 9, 2026
CVE-2026-34217
CVE-2026-34217
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@nyariv/sandboxjsnpm | < 0.8.36 | 0.8.36 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/nyariv/SandboxJS/security/advisories/GHSA-hg73-4w7g-q96wnvdExploitMitigationVendor AdvisoryWEB
- github.com/advisories/GHSA-hg73-4w7g-q96wghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-34217ghsaADVISORY
- github.com/nyariv/SandboxJS/commit/abc02f657279e51a4aaad2bc8f99f3e37a01b287ghsaWEB
News mentions
0No linked articles in our index yet.