Skip to content
Heist/ feed
High

nyariv sandboxjs 0.8.23 Prototype Pollution Sandbox Escape DoS

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2025-34146

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-34146

sandboxjs

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "nyariv",
    "modules": [
      "dist/node/executor.js",
      "dist/node/parser.js"
    ],
    "product": "sandboxjs",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "versionType": "semver",
        "lessThanOrEqual": "0.8.23"
      }
    ],
    "packageURL": "pkg:npm/%40nyariv/sandboxjs",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2025-34146

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#12628 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement