Vulnerability in Totaljs Total.js
CVE-2020-28495
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 · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.038, 90.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Totaljs Total.js
- Total.js — versions unspecified
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (20142995/nuclei-templates, cyb3r-w0lf/nuclei-template-collection, dellalibera/dellalibera). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- snyk.io/vuln/SNYK-JS-TOTALJS-1046671 (Exploit, Patch, Third Party Advisory)
- docs.totaljs.com/latest/en.html#api~FrameworkUtils~U.set (Broken Link)
- github.com/totaljs/framework/blob/master/utils.js#L6606 (Broken Link)
- github.com/totaljs/framework/blob/master/utils.js#L6617 (Broken Link)
- github.com/totaljs/framework/commit/b3f901561d66ab799a4a99279893b94cad7ae4ff (Patch, Third Party Advisory)