Prototype Pollution
Description
An incomplete fix for CVE-2020-7618 in the sds npm package allows prototype pollution via the set function, potentially leading to denial of service or remote code execution.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
An incomplete fix for CVE-2020-7618 in the sds npm package allows prototype pollution via the set function, potentially leading to denial of service or remote code execution.
Vulnerability
The sds package, versions from 0.0.0, is vulnerable to prototype pollution through the set function in js/set.js [1]. This is an incomplete fix for CVE-2020-7618 [2]. The library can be tricked into adding or modifying properties of Object.prototype [1].
Exploitation
An attacker can exploit this by providing a crafted input to the set function that manipulates the prototype chain, for example by using __proto__ or constructor.prototype paths [3]. No authentication is required if the function processes user-supplied data.
Impact
Successful exploitation leads to prototype pollution, which can cause denial of service via JavaScript exceptions or tamper with application source code to force code paths, potentially leading to remote code execution [3].
Mitigation
As of the references available, no fixed version for sds has been disclosed to address CVE-2022-25862 [1]. Users should consider avoiding use of this library or implementing input sanitization to block prototype property keys.
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.4.0 | — |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-ph28-wwfj-fv7fghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-7618ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-25862ghsaADVISORY
- github.com/monsterkodi/sds/blob/master/js/set.jsghsax_refsource_MISCWEB
- snyk.io/vuln/SNYK-JS-SDS-2385944ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.