{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-28495","id":"CVE-2020-28495","title":"Prototype Pollution","description":"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.","descriptionLong":"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.","published":"2021-02-02T10:25:17.752Z","updated":"2026-10-24T10:49:34.689790939Z","reserved":"2020-11-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":7.3,"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","rating":"high","source":"snyk"},"metrics":[{"version":"3.1","score":7.3,"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","rating":"high","source":"snyk"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"snyk.io"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"high","products":["total.js"],"affectedProducts":[{"vendor":"n/a","product":"total.js","defaultStatus":null,"versions":[{"lessThan":"3.4.7","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"total.js","purl":"pkg:npm/total.js","ranges":["<3.4.7"],"fixed":["3.4.7"],"advisory":"GHSA-6cf8-qhqj-vjqm"}],"cwes":["CWE-1321","CWE-400"],"aliases":["GHSA-6cf8-qhqj-vjqm","SNYK-JS-TOTALJS-1046671"],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-TOTALJS-1046671","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://github.com/totaljs/framework/blob/master/utils.js%23L6606","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://github.com/totaljs/framework/blob/master/utils.js%23L6617","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28495","tags":["advisory"]},{"url":"https://www.npmjs.com/package/total.js","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0376,"epssPercentile":0.90118,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-28495","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28495","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-28495","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6cf8-qhqj-vjqm","ok":true,"note":"GHSA-6cf8-qhqj-vjqm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-28495","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}