# CVE-2025-34146: nyariv sandboxjs 0.8.23 Prototype Pollution Sandbox Escape DoS

- Severity: High 7.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-31T14:59:35.716Z
- Modified: 2026-10-08T16:16:51.177Z
- Also known as: GHSA-9qm3-6qrr-c76m
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- nyariv sandboxjs: up to 0.8.23
- @nyariv/sandboxjs (npm): before 0.8.24

## Every score

- VulnCheck: CVSS:4.0 7.0 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://gist.github.com/Hagrid29/9df27829a491080f923c4f6b8518d7e3> (exploit, issue-tracking, web)
- <https://github.com/nyariv/SandboxJS/issues/31> (issue-tracking, web)
- <https://www.npmjs.com/package/@nyariv/sandboxjs> (product, web)
- <https://www.vulncheck.com/advisories/nyariv-sandboxjs-prototype-pollution-sandbox-escape-dos> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-34146> (advisory)
- <https://github.com/nyariv/SandboxJS> (package)

## Sources

- CVE List: [CVE-2025-34146](https://www.cve.org/CVERecord?id=CVE-2025-34146), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-9qm3-6qrr-c76m](https://github.com/advisories/GHSA-9qm3-6qrr-c76m), CC-BY-4.0, modified 2025-07-31
- NVD: [CVE-2025-34146](https://nvd.nist.gov/vuln/detail/CVE-2025-34146), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2025-34146 · Whole record: https://cve.day/CVE-2025-34146.json · Rebuilt by cve.day 2026-11-25T22:59:01.939Z
