CVE-2025-34146
highpriority · track · 0EPSS 0.002 · 13 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.8–7
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-9qm3-6qrr-c76m@nyariv/sandboxjs has Prototype Pollution vulnerability that may lead to RCE2025-07-31ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://gist.github.com/Hagrid29/9df27829a491080f923c4f6b8518d7e3cnnvd
- https://github.com/nyariv/SandboxJS/issues/31cnnvd
- https://github.com/nyariv/SandboxJS/releasesPatchcnnvd
- https://www.npmjs.com/package/@nyariv/sandboxjscnnvd
- https://www.vulncheck.com/advisories/nyariv-sandboxjs-prototype-pollution-sandbox-escape-doscnnvd
- https://gist.github.com/Hagrid29/9df27829a491080f923c4f6b8518d7e3enisa_euvd
- https://github.com/nyariv/SandboxJS/issues/31enisa_euvd
- https://www.npmjs.com/package/@nyariv/sandboxjsenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan