CVE-2020-28495
HIGH7.3EPSS 6.1%Prototype pollution in total.js
Published: 2/5/2021Modified: 3/13/2026
Description
There is a prototype pollution vulnerability in the package total.js before version 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.
Affected packages (1)
- npm/total.jsfrom 0, < 3.4.7
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-28495
- WEBhttps://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set
- WEBhttps://github.com/totaljs/framework/blob/master/utils.js%23L6606
- WEBhttps://github.com/totaljs/framework/blob/master/utils.js%23L6617
- WEBhttps://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff
- WEBhttps://snyk.io/vuln/SNYK-JS-TOTALJS-1046671
- WEBhttps://www.npmjs.com/package/total.js