{"id":"CVE-2020-7618","aliases":["EUVD-2020-1002","GHSA-cxm3-284p-qc4v"],"status":"published","title":"Prototype Pollution in sds","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'.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01143,"percentile":0.66922,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1321","CWE-915"],"published":"2020-04-07T13:22:49Z","modified":"2026-06-17T03:25:07Z","fixes":[{"ecosystem":"npm","package":"sds","fixed_in":["4.0.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"sds","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"sds","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.0.0"}]}]}],"products":[{"vendor":"moxa","product":"sds"},{"vendor":"sds_project","product":"sds"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-SDS-564123","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/monsterkodi/sds/blob/master/js/set.js#L31","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7618","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/1506","tags":["web"]},{"url":"https://github.com/advisories/GHSA-cxm3-284p-qc4v"}],"sources":{"cve":[{"id":"CVE-2020-7618","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'.","status":"published","published":"2020-04-07T13:22:49Z","modified":"2024-08-04T09:33:19.976Z","updated_at":"2026-11-02T14:35:58.331892Z"}],"euvd":[{"id":"EUVD-2020-1002","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'.","status":"published","published":"2020-04-07T13:22:49Z","modified":"2024-08-04T09:33:19Z","updated_at":"2026-11-03T03:08:00.054795Z"}],"ghsa":[{"id":"GHSA-cxm3-284p-qc4v","title":"Prototype Pollution in sds","description":"Affected versions of `sds` are vulnerable to prototype pollution. The `set` function does not restrict the modification of an Object's prototype, which may allow an attacker to add or modify an existing property that will exist on all objects.\n\n## Recommendation\n\nUpgrade to version 4.0.0 or later","status":"published","published":"2020-09-03T15:53:12Z","modified":"2023-01-27T05:08:06Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-915","CWE-1321"],"updated_at":"2026-11-02T14:36:22.592333Z"}],"nvd":[{"id":"CVE-2020-7618","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'.","status":"published","published":"2020-04-07T14:15:14.467Z","modified":"2026-06-17T03:25:07.72Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:05:57.678762Z"}],"osv":[{"id":"GHSA-cxm3-284p-qc4v","title":"Prototype Pollution in sds","description":"Affected versions of `sds` are vulnerable to prototype pollution. The `set` function does not restrict the modification of an Object's prototype, which may allow an attacker to add or modify an existing property that will exist on all objects.\n\n## Recommendation\n\nUpgrade to version 4.0.0 or later","status":"published","published":"2020-09-03T15:53:12Z","modified":"2026-03-13T21:57:05.977688Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"medium"}],"cwes":["CWE-1321","CWE-915"],"updated_at":"2026-11-02T15:46:45.639885Z"}]}}
