VYPR
Critical severityGHSA Advisory· Published Sep 1, 2020· Updated Sep 16, 2024

Prototype Pollution

CVE-2020-7721

Description

node-oojs is vulnerable to Prototype Pollution via the setPath function, allowing attackers to inject properties into Object.prototype.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

node-oojs is vulnerable to Prototype Pollution via the setPath function, allowing attackers to inject properties into Object.prototype.

CVE-2020-7721 describes a Prototype Pollution vulnerability in all versions of the npm package node-oojs. The flaw exists in the setPath function, which allows an attacker to define property values on an object based on a string path. This can be abused to set properties on Object.prototype by including __proto__ or similar keys in the path.

Exploitation occurs when an attacker controls the path argument passed to the setPath function. If the application processes untrusted input through this function without proper sanitization, the attacker can pollute the base object prototype. This is a classic "property definition by path" style of Prototype Pollution.

The impact of successful exploitation includes the ability to tamper with application logic, leading to denial of service via JavaScript exceptions, or potentially remote code execution if the polluted properties alter security-sensitive code paths [1][2].

As of the publication date (2020-09-01), users should update node-oojs to a patched version if available, or apply mitigations such as sanitizing input paths. The vulnerability is tracked by Snyk under SNYK-JS-NODEOOJS-598678 [2].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
node-oojsnpm
<= 1.4.0

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.