Skip to main content
← All vulnerabilities
CVE-2025-34146GHSA-9QM3-6QRR-C76M

nyariv sandboxjs 0.8.23 Prototype Pollution Sandbox Escape DoS

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.8.24
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

A prototype pollution vulnerability exists in @nyariv/sandboxjs versions <= 0.8.23, allowing attackers to inject arbitrary properties into Object.prototype via crafted JavaScript code. This can result in a denial-of-service (DoS) condition or, under certain conditions, escape the sandboxed environment intended to restrict code execution. The vulnerability stems from insufficient prototype access checks in the sandbox’s executor logic, particularly in the handling of JavaScript function objects returned.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nyariv sandboxjs

    through 0.8.23

  • @nyariv/sandboxjsnpm

    fixed in 0.8.24

References 4

gist.github.com

GitHub · nyariv/SandboxJS

npmjs.com

vulncheck.com