ghsa-9qm3-6qrr-c76m
Vulnerability from github
Published
2025-07-31 15:35
Modified
2025-07-31 19:28
Severity ?
VLAI Severity ?
Summary
@nyariv/sandboxjs has Prototype Pollution vulnerability that may lead to RCE
Details
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.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "@nyariv/sandboxjs" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.8.24" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-34146" ], "database_specific": { "cwe_ids": [ "CWE-1321" ], "github_reviewed": true, "github_reviewed_at": "2025-07-31T19:28:27Z", "nvd_published_at": "2025-07-31T15:15:36Z", "severity": "HIGH" }, "details": "A prototype pollution vulnerability exists in @nyariv/sandboxjs versions \u003c= 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\u2019s executor logic, particularly in the handling of JavaScript function objects returned.", "id": "GHSA-9qm3-6qrr-c76m", "modified": "2025-07-31T19:28:27Z", "published": "2025-07-31T15:35:50Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-34146" }, { "type": "WEB", "url": "https://github.com/nyariv/SandboxJS/issues/31" }, { "type": "WEB", "url": "https://gist.github.com/Hagrid29/9df27829a491080f923c4f6b8518d7e3" }, { "type": "PACKAGE", "url": "https://github.com/nyariv/SandboxJS" }, { "type": "WEB", "url": "https://www.npmjs.com/package/@nyariv/sandboxjs" }, { "type": "WEB", "url": "https://www.vulncheck.com/advisories/nyariv-sandboxjs-prototype-pollution-sandbox-escape-dos" } ], "schema_version": "1.4.0", "severity": [ { "score": "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", "type": "CVSS_V4" } ], "summary": "@nyariv/sandboxjs has Prototype Pollution vulnerability that may lead to RCE" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…