CVE-2020-28495 Prototype Pollution
Prototype pollution in total.js allows attackers to cause denial of service or remote code execution via unsanitized path keys.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-28495?
CVE-2020-28495 is a high-severity vulnerability in total.js, published on 2 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2020-28495?
2 open source packages ship an affected version, including total.js. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
total.js npm | All versions | 3.4.7 |
total.js npm | All versions | 3.4.7 |
Products include Totaljs Total.js.
How do I fix CVE-2020-28495?
Upgrade total.js to 3.4.7 or later.
Is CVE-2020-28495 being exploited?
There is no known exploitation of CVE-2020-28495 in the wild and no public exploit code.
Other vulnerabilities in total.js
Sources
Also known as GHSA-6cf8-qhqj-vjqm, SNYK-JS-TOTALJS-1046671.