QID 375661
Date Published: 2021-08-05
QID 375661: Node.js Dot v1.1.2 Code Injection Vulnerability
DOT.js was created in search of the fastest and concise JavaScript templating function with emphasis on performance under V8 and nodejs. It shows great performance for both nodejs and browsers.
CVE-2020-8141:The dot package v1.1.2 uses Function() to compile templates. This can be exploited by the attacker if they can control the given template or if they can control the value set on Object.prototype.
Affected Versions:
Dot Version 1.1.2
QID Detection Logic:(Authenticated)
This QID checks for vulnerable DOT version if installed as a global package
The attacker can achieve code injection/RCE if they can control the template or if they can set arbitrary properties on Object.prototype.
For more information, visit DOT Security considerations
CVEs related to QID 375661
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| NA |
|