CVE-2026-43898 PUBLISHED

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

Assigner: GitHub_M
Reserved: 04.05.2026 Published: 28.05.2026 Updated: 28.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 10

Product Status

Vendor nyariv
Product SandboxJS
Versions
  • Version < 0.9.6 is affected

References

Problem Types

  • CWE-94: Improper Control of Generation of Code ('Code Injection') CWE