CVE-2020-28495
HIGH 7.3CVSS 3.1Prototype pollution in total.js
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.
- Published
- 2 Feb 2021
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321CWE-400
- Also known as
- GHSA-6cf8-qhqj-vjqmSNYK-JS-TOTALJS-1046671
- Sources
- NVDJSONOSV GHSA-6cf8-qhqj-vjqmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | totaljs | total.jscpe:2.3:a:totaljs:total.js:*:*:*:*:*:node.js:*:* |
< 3.4.7 | 3.4.7 |
| OSV | npm | total.js | < 3.4.7 | 3.4.7 |
References
- https://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set · Broken Link, WEB
- https://github.com/totaljs/framework/blob/master/utils.js%23L6606 · Broken Link, WEB
- https://github.com/totaljs/framework/blob/master/utils.js%23L6617 · Broken Link, WEB
- https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-TOTALJS-1046671 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-28495 · ADVISORY
- https://www.npmjs.com/package/total.js · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 2 Feb 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Feb 2021)