Vulnerability · Published May 28, 2026 · Assigned by GitHub_M

CVE-2026-43898SandboxJS: Sandbox escape via Function.caller leakage of internal call op

Critical 10.0

In plain English

A critical-severity code injection in SandboxJS from nyariv. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)0.5%top 59.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@nyariv/sandboxjs0.9.6GHSA-g8f2-4f4f-5jqw

Affected products (as reported)

VendorProductVersions
nyariv SandboxJS < 0.9.6

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

References