{"id":"CVE-2020-28495","published":"2021-02-02T10:25:17Z","modified":"2024-09-16T22:40:43Z","title":"Prototype Pollution","vendor":null,"product":null,"tier":"tail","description":{"text":"This affects the package total.js before 3.4.7. The set function can be used to set a value into the object according to the path. However the keys of the path being set are not properly sanitized, leading to a prototype pollution vulnerability. The impact depends on the application. In some cases it is possible to achieve Denial of service (DoS), Remote Code Execution or Property Injection.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0376,"percentile":0.90165,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-TOTALJS-1046671","tags":["x_refsource_MISC"]},{"url":"https://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set","tags":["x_refsource_MISC"]},{"url":"https://github.com/totaljs/framework/blob/master/utils.js%23L6606","tags":["x_refsource_MISC"]},{"url":"https://github.com/totaljs/framework/blob/master/utils.js%23L6617","tags":["x_refsource_MISC"]},{"url":"https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff","tags":["x_refsource_MISC"]}],"priority":{"score":23.1,"factors":[{"name":"EPSS percentile","points":18.03},{"name":"CVSS severity","points":5.11}]},"affectedVersions":[{"vendor":"n/a","product":"total.js","versions":[">= unspecified, < 3.4.7"]}],"affected":[{"ecosystem":"npm","package":"total.js","vulnerableRanges":["<3.4.7"],"patched":["3.4.7"],"from":["GHSA-6cf8-qhqj-vjqm"],"provenance":"source"}],"summary":{"text":"The vulnerability is a prototype pollution flaw in the total.js package before version 3.4.7, where the set function does not properly sanitise the keys of the path used to write values into an object. An attacker can exploit it to cause denial of service, remote code execution, or property injection, depending on how the application uses the package, and the attack vector indicates network-reachable access requiring no privileges or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:38Z"},"euvd":{"id":"EUVD-2021-0536","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-8903","published":"2019-02-18","fixed":"3.2.3","kev":false},{"cve":"CVE-2019-10260","published":"2019-03-28","fixed":"3.3.0-13","kev":false,"link":{"from":"CVE-2019-10260","to":"CVE-2020-28495","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:total.js","fromFixed":"3.3.0-13","toFixed":"3.4.7","daysApart":677}]}},{"cve":"CVE-2020-28494","published":"2021-02-02","fixed":"3.4.7","kev":false},{"cve":"CVE-2020-28495","published":"2021-02-02","fixed":"3.4.7","kev":false},{"cve":"CVE-2021-23344","published":"2021-03-04","fixed":"3.4.8","kev":false,"link":{"from":"CVE-2020-28495","to":"CVE-2021-23344","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:total.js","fromFixed":"3.4.7","toFixed":"3.4.8","daysApart":30},{"kind":"same-code","provenance":"machine","files":["utils.js"],"commits":["https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff","https://github.com/totaljs/framework/commit/c812bbcab8981797d3a1b9993fc42dad3d246f04"],"basis":"shared file"}]}},{"cve":"CVE-2021-23389","published":"2021-07-12","fixed":"3.4.9","kev":false},{"cve":"CVE-2021-32831","published":"2021-08-30","fixed":"3.4.9","kev":false}],"package":"npm:total.js"}}