CVE-2026-25586 Details
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.
A vulnerability in SandboxJS versions prior to 0.8.29 allows for a sandbox escape by shadowing the 'hasOwnProperty' method on a sandbox object. This action disables the enforcement of a prototype whitelist during property access, which normally blocks certain prototype properties. As a result, it becomes possible to directly access '__proto__' and other restricted prototype properties, leading to pollution of the host's Object.prototype and causing persistent cross-sandbox effects. The vulnerability can be exploited under the default Sandbox configuration, without the need for custom globals or whitelists.
Users can upgrade to SandboxJS version 0.8.29 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nyariv/SandboxJS/security/advisories/GHSA-jjpw-65fv-8g48 | CISA-ADP | ExploitVendor Advisory |
| https://github.com/nyariv/SandboxJS/commit/67cb186c41c78c51464f70405504e8ef0a6e43c3 | [email protected] | Patch |
| https://github.com/nyariv/SandboxJS/security/advisories/GHSA-jjpw-65fv-8g48 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nyariv sandboxjs | < 0.8.29 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 18, 2026 | Initial Analysis | [email protected] |
| Feb 6, 2026 | CVE Modified | CISA-ADP |
| Feb 6, 2026 | New CVE Received | [email protected] |