SandboxJS is a JavaScript sandboxing library. Prior to 0.8.34, it is possible to obtain arrays containing Function, which allows escaping the sandbox. Given an array containing Function, and Object.fromEntries, it is possible to construct {[p]: Function} where p is any constructible property.
This vulnerability is fixed in 0.8.34.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 1
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Nyariv Sandboxjs
cpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:*
|
— |
0.8.34
|