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

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

{'score': 7, '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'}


cve-icon MITRE

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

cve-icon Vulnrichment

Updated: 2025-07-31T20:06:48.237Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-07-31T15:15:36.260

Modified: 2025-07-31T18:42:37.870

Link: CVE-2025-34146

cve-icon Redhat

No data.