Description
sds through 3.2.0 is vulnerable to Prototype Pollution.The library could be tricked into adding or modifying properties of the 'Object.prototype' by abusing the 'set' function located in 'js/set.js'.
Remediation
References
https://github.com/monsterkodi/sds/blob/master/js/set.js#L31
https://snyk.io/vuln/SNYK-JS-SDS-564123
Related Vulnerabilities
CVE-2022-24822 Vulnerability in npm package @podium/proxy
CVE-2015-0226 Vulnerability in maven package org.apache.wss4j:wss4j-ws-security-dom
CVE-2018-3721 Vulnerability in npm package lodash._basemerge
CVE-2023-40812 Vulnerability in maven package org.opencrx:opencrx-core-models
CVE-2023-40787 Vulnerability in maven package org.springblade:blade-core-tool