SandboxJS has a Sandbox Escape via Prototype Whitelist Bypass and Host Prototype Pollution
Summary
SandboxJS has a Sandbox Escape via Prototype Whitelist Bypass and Host Prototype Pollution
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com