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.
Metrics
Affected Vendors & Products
References
History
Thu, 31 Jul 2025 20:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Nyariv
Nyariv sandboxjs |
|
| Vendors & Products |
Nyariv
Nyariv sandboxjs |
Thu, 31 Jul 2025 20:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Thu, 31 Jul 2025 15:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | nyariv sandboxjs 0.8.23 Prototype Pollution Sandbox Escape DoS | |
| Weaknesses | CWE-1321 | |
| References |
| |
| Metrics |
cvssV4_0
|
Status: PUBLISHED
Assigner: VulnCheck
Published: 2025-07-31T14:59:35.716Z
Updated: 2025-07-31T20:06:52.349Z
Reserved: 2025-04-15T19:15:22.564Z
Link: CVE-2025-34146
Updated: 2025-07-31T20:06:48.237Z
Status : Awaiting Analysis
Published: 2025-07-31T15:15:36.260
Modified: 2025-07-31T18:42:37.870
Link: CVE-2025-34146
No data.