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.

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as High - 6.5 severity.
  • Solution
    Customers are advised to update to DOT v1.1.3

    For more information, visit DOT Security considerations

    Vendor References

    CVEs related to QID 375661

    Software Advisories
    Advisory ID Software Component Link
    NA URL Logo www.npmjs.com/package/dot
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report