Skip to main content
← All vulnerabilities
CVE-2026-25520GHSA-58JH-XV4V-PCX4

SandboxJS has a Sandbox Escape

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.8.29
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, The return values of functions aren't wrapped. Object.values/Object.entries can be used to get an Array containing the host's Function constructor, by using Array.prototype.at you can obtain the hosts Function constructor, which can be used to execute arbitrary code outside of the sandbox. This vulnerability is fixed in 0.8.29.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • nyariv SandboxJS

    fixed in 0.8.29

  • @nyariv/sandboxjsnpm

    fixed in 0.8.29

References 2

GitHub · nyariv/SandboxJS