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.
References
| Link | Resource |
|---|---|
| https://github.com/nyariv/SandboxJS/commit/826865251232611ec94078bab5a18ec875dad4a5 | Patch |
| https://github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw | Exploit Vendor Advisory |
| https://github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw | Exploit Vendor Advisory |
Configurations
History
28 May 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw - Exploit, Vendor Advisory |
28 May 2026, 19:24
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:* | |
| First Time |
Nyariv sandboxjs
Nyariv |
|
| References | () https://github.com/nyariv/SandboxJS/commit/826865251232611ec94078bab5a18ec875dad4a5 - Patch | |
| References | () https://github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw - Exploit, Vendor Advisory |
28 May 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-28 18:16
Updated : 2026-05-28 20:16
NVD link : CVE-2026-43898
Mitre link : CVE-2026-43898
CVE.ORG link : CVE-2026-43898
JSON object : View
Products Affected
nyariv
- sandboxjs
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
