cve.bz

CVE-2026-25520

10.0 criticalEPSS 0.9%

Critical (10.0) in nyariv sandboxjs. EPSS 0.9% chance of exploitation in the next 30 days. Fixed in @nyariv/sandboxjs 0.8.29.

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.

Severity

CVSS 3.1

10.0 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
0.9% chance of exploitation in the next 30 days; higher than 58% of CVEs (scores of 2026-10-31)
CWE
CWE-74
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-58jh-xv4v-pcx4npm@nyariv/sandboxjs<0.8.290.8.29

References

Check your stackJSON