SandboxJS Prototype Pollution -> Sandbox Escape -> RCE
Priority MEDIUM 51CWE-94Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01213 68th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed SandboxJS (nyariv): 0.8.27@nyariv/sandboxjs (npm): 0.8.27
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nyariv | SandboxJS | before 0.8.27 | 0.8.27 | Patch available | CNA |
| — | @nyariv/sandboxjs (npm) | before 0.8.27 | 0.8.27 | Patch available | GHSA-9p4w-fq8m-2hp7 |
- SandboxJS Vendornyariv Affected before 0.8.27 Fixed in 0.8.27 Patch available CNA
- @nyariv/sandboxjs (npm) Vendor— Affected before 0.8.27 Fixed in 0.8.27 Patch available GHSA-9p4w-fq8m-2hp7
Remediation
- Fix · CNA SandboxJS (nyariv) Fixed in 0.8.27
- Fix · GHSA-9p4w-fq8m-2hp7 @nyariv/sandboxjs (npm) Fixed in 0.8.27 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-25142
- 2026-10-03 Alias added: GHSA-9p4w-fq8m-2hp7
References
More nyariv Sandboxjs vulnerabilities
- TI-2026-31962 SandboxJS: Sandbox escape via Function.caller leakage of internal call op CVSS 3.1CRITICAL 10.0
- TI-2026-26503 SandboxJS: Sandbox integrity escape CVSS 3.1CRITICAL 10.0
- TI-2026-21440 SandboxJS has a Sandbox Escape CVSS 3.1CRITICAL 10.0
- TI-2026-20741 SandboxJS has a sandbox escape via TOCTOU bug on keys in property accesses CVSS 3.1CRITICAL 10.0
- TI-2026-20694 SandboxJS has a Sandbox Escape CVSS 3.1CRITICAL 10.0
- TI-2026-20693 SandboxJS has a Sandbox Escape via Prototype Whitelist Bypass and Host Prototype Pollution CVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-25142 · CVE Program
- CVE-2026-25142 · NVD
- FIRST EPSS
- GHSA-9p4w-fq8m-2hp7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences