CVE-2026-25142: SandboxJS Vulnerable to Prototype Pollution -> Sandbox Escape -> RCE
(updated )
SandboxJS does not properly restrict __lookupGetter__ which can be used to obtain prototypes, which can be used for escaping the sandbox / remote code execution.
References
- github.com/advisories/GHSA-9p4w-fq8m-2hp7
- github.com/nyariv/SandboxJS
- github.com/nyariv/SandboxJS/blob/f212a38fb5a6d4bc2bc2e2466c0c011ce8d41072/src/executor.ts
- github.com/nyariv/SandboxJS/commit/75c8009db32e6829b0ad92ca13bf458178442bd3
- github.com/nyariv/SandboxJS/security/advisories/GHSA-9p4w-fq8m-2hp7
- nvd.nist.gov/vuln/detail/CVE-2026-25142
Code Behaviors & Features
Detect and mitigate CVE-2026-25142 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →