{"cve":"CVE-2025-34146","nvd":{"published":"2025-07-31T15:15:36.260","modified":"2026-10-08T16:16:51.177","status":"Deferred","description":"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.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.0},"cvss_v3":null,"cwes":["CWE-1321"],"references":["https://gist.github.com/Hagrid29/9df27829a491080f923c4f6b8518d7e3","https://github.com/nyariv/SandboxJS/issues/31","https://www.npmjs.com/package/@nyariv/sandboxjs","https://www.vulncheck.com/advisories/nyariv-sandboxjs-prototype-pollution-sandbox-escape-dos"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:05:46.678065081+00:00"},"epss":{"cve":"CVE-2025-34146","score":0.00228,"percentile":0.13447,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-9qm3-6qrr-c76m","url":"https://osv.dev/vulnerability/GHSA-9qm3-6qrr-c76m","summary":"@nyariv/sandboxjs has Prototype Pollution vulnerability that may lead to RCE","modified":"2025-07-31T19:42:17.060687Z","packages":[{"ecosystem":"npm","name":"@nyariv/sandboxjs","purl":"pkg:npm/%40nyariv/sandboxjs","ranges":["<0.8.24"],"fixed":["0.8.24"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}