What’s Vulnerable › Vulnerabilities
CVE-2020-28495: Prototype Pollution
- Severity: high (CVSS 7.5 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-02-02 · updated 2026-06-17
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.
Affected products
- total.js: before 3.4.7 — fixed in 3.4.7
How to fix
Upgrade to a fixed version: total.js 3.4.7. Check the vendor advisory for mitigations.
References
- https://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set
- https://github.com/totaljs/framework/blob/master/utils.js%23L6606
- https://github.com/totaljs/framework/blob/master/utils.js%23L6617
- https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff
- https://snyk.io/vuln/SNYK-JS-TOTALJS-1046671
- https://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set
- https://github.com/totaljs/framework/blob/master/utils.js%23L6606
- https://github.com/totaljs/framework/blob/master/utils.js%23L6617
- https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff
- https://snyk.io/vuln/SNYK-JS-TOTALJS-1046671
Get alerted when CVE-2020-28495 or the next vulnerability affects your stack