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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | High7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| NVDNVD · Modified | 3.1 | High7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
- EPSS (exploitation in 30 days)
- 3.8% · top 10% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.3.
Weakness
- Prototype Pollution
Affected products
total.js
- affected unspecified – < 3.4.7
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmtotal.jsGHSA-6cf8-qhqj-vjqm (opens in a new tab)
References (5)
- https://snyk.io/vuln/SNYK-JS-TOTALJS-1046671 (opens in a new tab)x_refsource_MISCx_transferred
- https://docs.totaljs.com/latest/en.html%23api~FrameworkUtils~U.set (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/totaljs/framework/blob/master/utils.js%23L6606 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/totaljs/framework/blob/master/utils.js%23L6617 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6cf8-qhqj-vjqm (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-28495)Record last updated .