CVE-2026-43898
CRITICAL 10.0CVSS 3.1SandboxJS has a sandbox escape via Function.caller leakage of internal call op
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.
- Published
- 28 May 2026
- Last modified
- 14 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-g8f2-4f4f-5jqw
- Sources
- NVDJSONOSV GHSA-g8f2-4f4f-5jqwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nyariv | sandboxjscpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:* |
< 0.9.6 | 0.9.6 |
| OSV | npm | @nyariv/sandboxjs | < 0.9.6 | 0.9.6 |
References
- https://github.com/nyariv/SandboxJS/commit/826865251232611ec94078bab5a18ec875dad4a5 · Patch, WEB
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-43898 · ADVISORY
- https://github.com/nyariv/SandboxJS · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 28 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 11 May 2026)