CVE-2026-25142 SandboxJS Prototype Pollution -> Sandbox Escape -> RCE
CriticalCVSS 10.0
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nyariv SandboxJS | < 0.8.27; = < 0.8.27 | 0.8.27 | Fixed |
| nyariv SandboxJS(npm) | < 0.8.27; <= 0.8.26 | 0.8.27 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nyariv SandboxJS | = < 0.8.27 | No fix listed |
| nyariv SandboxJS(npm) | <= 0.8.26 | No fix listed |
| nyariv SandboxJS | < 0.8.27 | 0.8.27 |
| nyariv SandboxJS(npm) | < 0.8.27 | 0.8.27 |
References
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-9p4w-fq8m-2hp7 exploit vendor-advisory
- https://github.com/nyariv/SandboxJS/commit/75c8009db32e6829b0ad92ca13bf458178442bd3 patch
- https://github.com/nyariv/SandboxJS/blob/f212a38fb5a6d4bc2bc2e2466c0c011ce8d41072/src/executor.ts#L368-L398 product
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product