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-2023-31544 Vulnerability in maven package org.opencms:opencms-core
CVE-2022-46907 Vulnerability in maven package org.apache.jspwiki:jspwiki-main
CVE-2020-7724 Vulnerability in npm package tiny-conf
CVE-2018-18853 Vulnerability in maven package io.spray:spray-json_2.11
CVE-2018-11307 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind