CVE-2026-25520
CWE-74Published: February 6, 2026· Updated: Jun 17, 2026
Official Description
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.
Risk Analysis
SandboxJS fails to properly wrap return values, allowing an attacker to access the host's Function constructor and execute arbitrary code outside the sandbox. This critical flaw carries a CVSS score of 10.0 and allows for complete system compromise.
This vulnerability is remotely exploitable, but there is no known public exploit available at this time.
Apply the fix by upgrading to SandboxJS version 0.8.29.
Technical Analysis
CVE-2026-25520 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 10.0.
The vulnerability has a "Changed" scope, meaning successful exploitation can impact components beyond the vulnerable component itself — such as the host operating system or adjacent services.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (3)
Quick Facts
Related CVEs (CWE-74)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-25520 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts