Skip to content
OpenAdvisories
Critical · 10.0 CVE-2026-43898 EUVD-2026-32968GHSA-g8f2-4f4f-5jqw

SandboxJS: Sandbox escape via Function.caller leakage of internal call op

Published May 28, 2026 · Updated May 28, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
nyariv SandboxJS < 0.9.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @nyariv/sandboxjs < 0.9.6 0.9.6 GHSA-g8f2-4f4f-5jqw

References