CVE-2020-28495Totaljs Total.js
High 7.3 No auth needed
Follow: this CVE · Totaljs · Totaljs Total.js We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 7.3
- EPSS
- 3.8% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Feb 2, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Total.js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | total.js |
< 3.4.7 |
3.4.7 |
npm install total.js@3.4.7 |
Per OSV / GitHub Advisories (GHSA-6cf8-qhqj-vjqm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| totaljs | total.js | < 3.4.7 |
Official sources
References
Links published by the sources. Open them with care.
- docs.totaljs.com Broken Link
- github.com Broken Link
- github.com Broken Link
- github.com Patch Third Party Advisory
- snyk.io Exploit Patch Third Party Advisory