# CVE-2026-34217: SandboxJS has a Sandbox Escape via Prop Object Leak in New Handler

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 23% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-03T21:45:38.000Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-hg73-4w7g-q96w
- Weaknesses: CWE-668
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nyariv SandboxJS: < 0.8.36; before 0.8.36
- @nyariv/sandboxjs (npm): before 0.8.36

## Every score

- GitHub_M: CVSS:4.0 6.9 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`
- GitHub: CVSS:4.0 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`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://github.com/nyariv/SandboxJS/security/advisories/GHSA-hg73-4w7g-q96w> (exploit, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34217> (advisory)
- <https://github.com/nyariv/SandboxJS/commit/abc02f657279e51a4aaad2bc8f99f3e37a01b287> (web)
- <https://github.com/nyariv/SandboxJS> (package)

## Sources

- CVE List: [CVE-2026-34217](https://www.cve.org/CVERecord?id=CVE-2026-34217), CVE Terms of Use, modified 2026-04-06
- GitHub Advisory Database: [GHSA-hg73-4w7g-q96w](https://github.com/advisories/GHSA-hg73-4w7g-q96w), CC-BY-4.0, modified 2026-04-06
- NVD: [CVE-2026-34217](https://nvd.nist.gov/vuln/detail/CVE-2026-34217), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-34217 · Whole record: https://cve.day/CVE-2026-34217.json · Rebuilt by cve.day 2026-11-25T22:59:18.017Z
