CVE-2026-43898 SandboxJS: Sandbox escape via Function.caller leakage of internal call op
CriticalCVSS 10.0
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nyariv SandboxJS | < 0.9.6; = < 0.9.6 | 0.9.6 | Fixed |
| nyariv SandboxJS(npm) | < 0.9.6; <= 0.9.5 | 0.9.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nyariv SandboxJS | = < 0.9.6 | No fix listed |
| nyariv SandboxJS(npm) | <= 0.9.5 | No fix listed |
| nyariv SandboxJS | < 0.9.6 | 0.9.6 |
| nyariv SandboxJS(npm) | < 0.9.6 | 0.9.6 |
References
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw exploit vendor-advisory
- https://github.com/nyariv/SandboxJS/commit/826865251232611ec94078bab5a18ec875dad4a5 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product