CVE-2026-25881
Last modified
CVE-2026-25881 is a critical-severity vulnerability rated 10/10 on the CVSS scale. SandboxJS is a JavaScript sandboxing library. Prior to 0.8.31, a sandbox escape vulnerability allows sandboxed code to mutate host built-in prototypes by laundering the isGlobal protection flag through array literal intermediaries. EPSS estimates a 0.55% chance of exploitation in the next 30 days.
Description
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.31, a sandbox escape vulnerability allows sandboxed code to mutate host built-in prototypes by laundering the isGlobal protection flag through array literal intermediaries. When a global prototype reference (e.g., Map.prototype, Set.prototype) is placed into an array and retrieved, the isGlobal taint is stripped, permitting direct prototype mutation from within the sandbox. This results in persistent host-side prototype pollution and may enable RCE in applications that use polluted properties in sensitive sinks (example gadget: execSync(obj.cmd)). This vulnerability is fixed in 0.8.31.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nyariv | Sandboxjs | < 0.8.31 |
References
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-ww7g-4gwx-m7wjExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-25881?
How severe is CVE-2026-25881?
How do I fix CVE-2026-25881?
Are you affected by CVE-2026-25881?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
