CVE-2026-25881: Vulnerability in Nyariv Sandboxjs

Critical. 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...

npm, CWE-1321

Exploitation
None confirmed
Severity
9 of 10
Attack likelihood
0.8 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-ww7g-4gwx-m7wj
EU ID
EUVD-2026-6864
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-1321
Published
9 Feb 2026
Last change
17 Jun 2026
Likelihood rank
Higher than 55 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Nyariv Sandboxjs Before 0.8.31. Fixed in 0.8.31

Affected packages

Vulnerable version ranges and fixed releases

  • @nyariv/sandboxjs npm, Affected through 0.8.30. Fixed in 0.8.31

Patches and fixes

Updates, commits and release notes

Exploit code

Public exploits and proofs of concept, handle with care

Related