Skip to content
OpenAdvisories
Critical · 10.0 CVE-2026-25586 EUVD-2026-5592GHSA-jjpw-65fv-8g48

SandboxJS has a Sandbox Escape via Prototype Whitelist Bypass and Host Prototype Pollution

Published Feb 6, 2026 · Updated Feb 6, 2026 · Assigned by GitHub_M

Description

SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, a sandbox escape is possible by shadowing hasOwnProperty on a sandbox object, which disables prototype whitelist enforcement in the property-access path. This permits direct access to __proto__ and other blocked prototype properties, enabling host Object.prototype pollution and persistent cross-sandbox impact. This vulnerability is fixed in 0.8.29.

Affected products

VendorProductAffectedFixed
nyariv SandboxJS < 0.8.29 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @nyariv/sandboxjs < 0.8.29 0.8.29 GHSA-jjpw-65fv-8g48

References