


Perceptive Security
SOC/SIEM Consultancy

SandboxJS is a JavaScript sandboxing library. Prior to 0.9.6, sandbox-defined functions expose Function.caller, allowing sandboxed code to recover the internal …
Published:
27 May 2026 at 22:00:00
Alert date:
28 May 2026 at 19:09:38
Source:
nvd.nist.gov
Web Technologies, Supply Chain & Dependencies
SandboxJS JavaScript sandboxing library contains a vulnerability in versions prior to 0.9.6 where sandbox-defined functions expose Function.caller, allowing sandboxed code to recover internal runtime callbacks. Attackers can exploit this to invoke callbacks with fake context and object values to extract blocked host statics, recover the real host Function constructor, and execute arbitrary host JavaScript code. This represents a complete sandbox escape vulnerability that allows malicious code to break out of the intended security boundaries. The vulnerability is fixed in version 0.9.6.
Technical details
Mitigation steps:
Affected products:
SandboxJS
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-43898
https://github.com/nyariv/SandboxJS/commit/826865251232611ec94078bab5a18ec875dad4a5
https://github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
