Home / nyariv / sandboxjs / CVE-2025-34146
CVE-2025-34146: is it exploited, and which versions of nyariv sandboxjs are affected and fixed?
CVE-2025-34146 is a prototype pollution vulnerability in nyariv sandboxjs. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: @nyariv/sandboxjs before 0.8.24 (GitHub advisory GHSA-9qm3-6qrr-c76m). Fixed in 0.8.24 (GitHub advisory GHSA-9qm3-6qrr-c76m). Severity: High (7.0, CVSS 4.0, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:18 UTC.
What is CVE-2025-34146?
nyariv sandboxjs 0.8.23 Prototype Pollution Sandbox Escape DoS
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.
From the CVE record by VulnCheck, last updated October 8, 2026, 15:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| nyariv | sandboxjs | through 0.8.23 |
As the CVE record by VulnCheck states it, last updated October 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @nyariv/sandboxjs | < 0.8.24 | 0.8.24 | GHSA-9qm3-6qrr-c76m |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 31, 2025. Summary: @nyariv/sandboxjs has Prototype Pollution vulnerability that may lead to RCE.
How severe is CVE-2025-34146?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.0 | CVSS 4.0 | 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 | VulnCheck |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-34146 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, July 31, 2025)
- EPSS
- 0.24% probability of exploitation activity in the next 30 days, percentile 16.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
Where are the vendor advisories and references?
- https://gist.github.com/Hagrid29/9df27829a491080f923c4f6b8518d7e3 issue-tracking, exploit
- https://github.com/nyariv/SandboxJS/issues/31 issue-tracking
- https://www.npmjs.com/package/@nyariv/sandboxjs product
- https://www.vulncheck.com/advisories/nyariv-sandboxjs-prototype-pollution-sandbox-escape-dos third-party-advisory
Who found and reported it?
- Hagrid29 (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 15, 2025
- Published
- July 31, 2025, 14:59 UTC
- CVE record updated
- October 8, 2026, 15:21 UTC by VulnCheck
- NVD
- Deferred, last modified October 8, 2026, 16:16 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect sandboxjs?
- May 28, 2026CVE-2026-43898 nyariv SandboxJS: code injection (remote code execution)
- Apr 6, 2026CVE-2026-34217 nyariv SandboxJS: resource exposed to the wrong sphere
- Apr 6, 2026CVE-2026-34211 nyariv SandboxJS: uncontrolled recursion
- Apr 6, 2026CVE-2026-34208 nyariv SandboxJS: protection mechanism failure
- Mar 18, 2026CVE-2026-32723 nyariv SandboxJS: race condition
- Mar 13, 2026CVE-2026-26954 nyariv SandboxJS: code injection (remote code execution)
- Feb 9, 2026CVE-2026-25881 nyariv SandboxJS: prototype pollution
- Feb 6, 2026CVE-2026-25586 nyariv SandboxJS: injection
Questions about CVE-2025-34146
Is CVE-2025-34146 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of nyariv sandboxjs are affected by CVE-2025-34146?
@nyariv/sandboxjs before 0.8.24, per the GitHub advisory GHSA-9qm3-6qrr-c76m. The tables above give every range the sources list.
Which version fixes CVE-2025-34146?
0.8.24, per the GitHub advisory GHSA-9qm3-6qrr-c76m. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-34146?
High (7.0, CVSS 4.0, from VulnCheck). The severity table above shows each score with its source.
Where is the official record of CVE-2025-34146?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.