CVE-2026-43898: SandboxJS - Prototype Pollution
- Cve: CVE-2026-43898
- Name: SandboxJS - Prototype Pollution
- Description: SandboxJS is a JavaScript sandboxing library. Prior to 0.9.6, sandbox-defined functions expose Function.caller, allowing sandboxed code to recover the internal LispType.Call runtime callback. That callback can then be invoked with attacker-controlled fake context and obj values to extract blocked host statics, recover the real host Function constructor, and execute arbitrary host JavaScript. This vulnerability is fixed in 0.9.6.
- Impact: Attackers can execute arbitrary JavaScript code on the host, leading to full compromise of the host environment.
- Remediation: Update to version 0.9.6 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.00472
- Epss percentile: 0.41648
- Assignee: [email protected]
- Published at: 2026-05-28T18:16:32Z
- Age in days: 180
- Modified at: 2026-10-14T20:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-43898
- Nvd status: modified
- 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 |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw | nvd | 2026-05-28 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/nyariv/SandboxJS/commit/826865251232611ec94078bab5a18ec875dad4a5 | nvd | Patch |
| https://github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nyariv:sandboxjs | < 0.9.6 | 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-05-28
- 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