Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @nyariv/sandboxjs
  4. ›
  5. CVE-2026-25587

CVE-2026-25587: @nyariv/sandboxjs has a Sandbox Escape vulnerability

February 5, 2026 (updated February 6, 2026)

As Map is in SAFE_PROTOYPES, it’s prototype can be obtained via Map.prototype. By overwriting Map.prototype.has the sandbox can be escaped.

References

  • github.com/advisories/GHSA-66h4-qj4x-38xp
  • github.com/nyariv/SandboxJS
  • github.com/nyariv/SandboxJS/commit/67cb186c41c78c51464f70405504e8ef0a6e43c3
  • github.com/nyariv/SandboxJS/security/advisories/GHSA-66h4-qj4x-38xp
  • nvd.nist.gov/vuln/detail/CVE-2026-25587

Code Behaviors & Features

Detect and mitigate CVE-2026-25587 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.8.29

Fixed versions

  • 0.8.29

Solution

Upgrade to version 0.8.29 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/@nyariv/sandboxjs/CVE-2026-25587.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 07 Feb 2026 12:18:27 +0000.