{"api_version":"1","generated_at":"2026-07-23T10:59:53+00:00","cve":"CVE-2020-28495","urls":{"html":"https://cve.report/CVE-2020-28495","api":"https://cve.report/api/cve/CVE-2020-28495.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-28495","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-28495"},"summary":{"title":"CVE-2020-28495","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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2021-02-02 11:15:00","updated_at":"2021-02-05 16:53:00"},"problem_types":["NVD-CWE-Other"],"metrics":[],"references":[{"url":"https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff","name":"https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Fixed `U.set()` by adding check for `Prototype pollution`. · totaljs/framework@b3f9015 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/totaljs/framework/blob/master/utils.js%23L6606","name":"https://github.com/totaljs/framework/blob/master/utils.js%23L6606","refsource":"MISC","tags":["Broken Link"],"title":"","mime":"","httpstatus":"","archivestatus":""},{"url":"https://github.com/totaljs/framework/blob/master/utils.js%23L6617","name":"https://github.com/totaljs/framework/blob/master/utils.js%23L6617","refsource":"MISC","tags":["Broken Link"],"title":"","mime":"","httpstatus":"","archivestatus":""},{"url":"https://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set","name":"https://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set","refsource":"MISC","tags":["Broken Link"],"title":"","mime":"","httpstatus":"","archivestatus":""},{"url":"https://snyk.io/vuln/SNYK-JS-TOTALJS-1046671","name":"https://snyk.io/vuln/SNYK-JS-TOTALJS-1046671","refsource":"MISC","tags":["Exploit","Patch","Third Party Advisory"],"title":"Prototype Pollution in total.js | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://docs.totaljs.com/latest/en.html#api~FrameworkUtils~U.set","name":"MISC:https://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set","refsource":"MITRE","tags":[],"title":"Total.js documentation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/totaljs/framework/blob/master/utils.js#L6606","name":"MISC:https://github.com/totaljs/framework/blob/master/utils.js%23L6606","refsource":"MITRE","tags":[],"title":"framework/utils.js at master · totaljs/framework · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/totaljs/framework/blob/master/utils.js#L6617","name":"MISC:https://github.com/totaljs/framework/blob/master/utils.js%23L6617","refsource":"MITRE","tags":[],"title":"framework/utils.js at master · totaljs/framework · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-28495","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28495","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Alessio Dellalibera","lang":""}],"nvd_cpes":[{"cve_year":"2020","cve_id":"28495","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"totaljs","cpe5":"total.js","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"28495","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"totaljs","cpe5":"total.js","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-28495","qid":"982959","title":"Nodejs (npm) Security Update for total.js (GHSA-6cf8-qhqj-vjqm)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2021-02-02T10:21:59.365530Z","ID":"CVE-2020-28495","STATE":"PUBLIC","TITLE":"Prototype Pollution"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"total.js","version":{"version_data":[{"version_affected":"<","version_value":"3.4.7"}]}}]},"vendor_name":"n/a"}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Prototype Pollution"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-TOTALJS-1046671","name":"https://snyk.io/vuln/SNYK-JS-TOTALJS-1046671"},{"refsource":"MISC","url":"https://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set","name":"https://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set"},{"refsource":"MISC","url":"https://github.com/totaljs/framework/blob/master/utils.js%23L6606","name":"https://github.com/totaljs/framework/blob/master/utils.js%23L6606"},{"refsource":"MISC","url":"https://github.com/totaljs/framework/blob/master/utils.js%23L6617","name":"https://github.com/totaljs/framework/blob/master/utils.js%23L6617"},{"refsource":"MISC","url":"https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff","name":"https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"version":"3.1","vectorString":"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","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW"}},"credit":[{"lang":"eng","value":"Alessio Dellalibera"}]},"nvd":{"publishedDate":"2021-02-02 11:15:00","lastModifiedDate":"2021-02-05 16:53:00","problem_types":["NVD-CWE-Other"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:totaljs:total.js:*:*:*:*:*:node.js:*:*","versionEndExcluding":"3.4.7","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"28495","Ordinal":"190982","Title":"CVE-2020-28495","CVE":"CVE-2020-28495","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"28495","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"28495","Ordinal":"2","NoteData":"2021-02-02","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"28495","Ordinal":"3","NoteData":"2021-02-02","Type":"Other","Title":"Modified"}]}}}