CVE-2026-25142: SandboxJS - Remote Code Execution
- Cve: CVE-2026-25142
- Name: SandboxJS - Remote Code Execution
- 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.
- Impact: Attackers can escape the sandbox and execute arbitrary code remotely, compromising the host environment.
- Remediation: Upgrade to version 0.8.27 or later.
- Vulnerability type: prototype_pollution
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 10
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.01213
- Epss percentile: 0.69283
- Assignee: [email protected]
- Published at: 2026-02-02T23:16:09Z
- Age in days: 295
- Modified at: 2026-06-17T10:24:10Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25142
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
| CWE-1321 | Improperly Controlled Modification of Object Prototype Attributes |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/nyariv/SandboxJS/security/advisories/GHSA-9p4w-fq8m-2hp7 | nvd | 2026-02-02 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nyariv:sandboxjs | < 0.8.27 | no | nvd | /v1/products/nyariv/sandboxjs |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nyariv/SandboxJS | commit, package, security_advisory | yes | /v1/repositories/nyariv/SandboxJS |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-02-02
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts