Live threats

All CVEs / Nyariv

CVE-2026-25520Nyariv Sandboxjs

Critical 10.0 No auth needed

Priority
75
CVSS 3.1
10.0
EPSS
—
Auth required
No
Published
Feb 6, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-74
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sandboxjs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @nyariv/sandboxjs < 0.8.29 0.8.29 npm install @nyariv/sandboxjs@0.8.29

Per OSV / GitHub Advisories (GHSA-58jh-xv4v-pcx4). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nyarivsandboxjs< 0.8.29

Official sources

References

Links published by the sources. Open them with care.