VYPR
Critical severityNVD Advisory· Published Aug 17, 2020· Updated Sep 16, 2024

Prototype Pollution

CVE-2020-7703

Description

All versions of the nis-utils npm package are vulnerable to Prototype Pollution via the setValue function, allowing property injection into Object.prototype.

AI Insight

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

All versions of the nis-utils npm package are vulnerable to Prototype Pollution via the setValue function, allowing property injection into Object.prototype.

The nis-utils npm package (all versions) contains a Prototype Pollution vulnerability in its setValue function. The function sets a property value on an object using a path string, and fails to properly sanitize the path against keys such as __proto__, constructor, or prototype. This allows an attacker to inject arbitrary properties into the base Object.prototype [1] [2].

Exploitation

Prototype Pollution is a common JavaScript vulnerability that leverages the language's prototypal inheritance mechanism. By passing a crafted object or path parameter to setValue, an attacker can pollute the global Object.prototype. Once polluted, all JavaScript objects in the application inherit the injected properties, which can alter application behavior without direct code modification [2].

Impact

Successful exploitation can lead to a range of outcomes, including denial of service (by causing JavaScript exceptions) or remote code execution (by forcing the application to follow unintended code paths). The specific impact depends on how the polluted properties are used by the application consuming nis-utils [1] [2].

Mitigation

As of the publication date (August 2020), no patched version of nis-utils was available. Developers are advised to avoid using the package or to implement input validation that blocks dangerous property keys (e.g., __proto__). The vulnerability was reported and tracked via Snyk (SNYK-JS-NISUTILS-598799) [1] [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
nis-utilsnpm
<= 0.6.10

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.