CVE-2020-7618
Description
sds npm package ≤3.2.0 is vulnerable to Prototype Pollution via the set() function, allowing arbitrary property addition to Object.prototype.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
sds npm package ≤3.2.0 is vulnerable to Prototype Pollution via the set() function, allowing arbitrary property addition to Object.prototype.
Vulnerability
Overview
CVE-2020-7618 affects the sds npm package through version 3.2.0. The library's set function, located in js/set.js, is vulnerable to Prototype Pollution. An attacker can exploit this by crafting input that manipulates Object.prototype, leading to the addition or modification of properties on all objects [1][2].
Exploitation
To exploit the vulnerability, an attacker must supply a specially crafted object that, when processed by the set function, pollutes the prototype chain. No authentication is required if the library is used in a client-side or server-side context where user input is passed to the vulnerable function [2][3].
Impact
Successful exploitation allows an attacker to inject properties into the global object prototype, potentially leading to denial of service, property injection, or other unexpected behaviors depending on the application's use of the polluted properties.
Mitigation
Users should upgrade to a patched version of sds if available. As of the publication date, version 3.2.0 is the latest affected; no patch may exist if the library is unmaintained. Reviewing and sanitizing inputs to the set function is recommended as a workaround [1].
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.
| Package | Affected versions | Patched versions |
|---|---|---|
sdsnpm | < 4.0.0 | 4.0.0 |
Affected products
2Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-cxm3-284p-qc4vghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-7618ghsaADVISORY
- github.com/monsterkodi/sds/blob/master/js/set.jsghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JS-SDS-564123ghsax_refsource_MISCWEB
- www.npmjs.com/advisories/1506ghsaWEB
News mentions
0No linked articles in our index yet.