CVE-2026-25142: Vulnerability in Nyariv Sandboxjs
Critical. SandboxJS does not properly restrict __lookupGetter__ which can be used to obtain prototypes, which can be used for escaping the sandbox / remote code execution.
npm, CWE-94, CWE-1321
- Exploitation
- None confirmed
- Severity
- 10 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-9p4w-fq8m-2hp7
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-94, CWE-1321
- Published
- 2 Feb 2026
- Last change
- 17 Jun 2026
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Nyariv Sandboxjs Before 0.8.27. Fixed in 0.8.27
Affected packages
Vulnerable version ranges and fixed releases
- @nyariv/sandboxjs npm, Affected through 0.8.26. Fixed in 0.8.27
Advisories
Vendor and security advisories
- github.com/nyariv/SandboxJS/blob/f212a38fb5a6d4bc2bc2e2466c0c011ce8d41072/src/executor.ts
- github.com/nyariv/SandboxJS/security/advisories/GHSA-9p4w-fq8m-2hp7
Patches and fixes
Updates, commits and release notes
Related
- Sandboxjs vulnerabilities Recent advisories, watch this product