CVE-2025-34146nyariv sandboxjs
High 7.0
Follow: this CVE · nyariv · nyariv sandboxjs We alert you by email or Slack (account required).
- Priority
- 42
- CVSS 4.0
- 7.0
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 31, 2025
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for sandboxjs.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @nyariv/sandboxjs |
< 0.8.24 |
0.8.24 |
npm install @nyariv/sandboxjs@0.8.24 |
Per OSV / GitHub Advisories (GHSA-9qm3-6qrr-c76m). Check the version in your lockfile before upgrading.
Affected products
- nyariv · sandboxjs
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.