PT-2026-7165 · Sandboxjs · Sandboxjs
K14Uz
·
Published
2026-02-09
·
Updated
2026-03-20
·
CVE-2026-25881
CVSS v2.0
10
Critical
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
SandboxJS versions prior to 0.8.31
Description
SandboxJS is a JavaScript sandboxing library with a flaw that allows sandboxed code to modify host built-in prototypes. This is achieved by removing a protection flag through array literal intermediaries, enabling direct prototype mutation from within the sandbox. This prototype pollution can lead to remote code execution in applications that utilize these polluted properties in sensitive operations, such as using
execSync(obj.cmd). The issue stems from the improper handling of the isGlobal taint flag when retrieving global prototype references from arrays.Recommendations
Update SandboxJS to version 0.8.31 or later.
Exploit
Fix
RCE
Prototype Pollution
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Sandboxjs