# CVE-2026-25142: SandboxJS Prototype Pollution -> Sandbox Escape -> RCE

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- 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): 1.21%, higher than 69% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-02T20:17:39.000Z
- Modified: 2026-06-17T10:24:10.873Z
- Also known as: GHSA-9p4w-fq8m-2hp7
- Weaknesses: CWE-94, CWE-1321
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

SandboxJS is a JavaScript sandboxing library. Prior to 0.8.27, SanboxJS does not properly restrict __lookupGetter__ which can be used to obtain prototypes, which can be used for escaping the sandbox / remote code execution. This vulnerability is fixed in 0.8.27.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/nyariv/SandboxJS/security/advisories/GHSA-9p4w-fq8m-2hp7> (exploit, vendor-advisory, web)
- <https://github.com/nyariv/SandboxJS/commit/75c8009db32e6829b0ad92ca13bf458178442bd3> (patch, web)
- <https://github.com/nyariv/SandboxJS/blob/f212a38fb5a6d4bc2bc2e2466c0c011ce8d41072/src/executor.ts#L368-L398> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25142> (advisory)
- <https://github.com/nyariv/SandboxJS> (package)

## Sources

- CVE List: [CVE-2026-25142](https://www.cve.org/CVERecord?id=CVE-2026-25142), CVE Terms of Use, modified 2026-02-04
- GitHub Advisory Database: [GHSA-9p4w-fq8m-2hp7](https://github.com/advisories/GHSA-9p4w-fq8m-2hp7), CC-BY-4.0, modified 2026-02-18
- NVD: [CVE-2026-25142](https://nvd.nist.gov/vuln/detail/CVE-2026-25142), Public domain, modified 2026-06-17

---

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