Description
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.
Remediation
References
https://hackerone.com/reports/390929
Related Vulnerabilities
CVE-2022-31198 Vulnerability in maven package org.webjars.npm:openzeppelin__contracts
CVE-2022-25940 Vulnerability in maven package org.webjars.npm:lite-server
CVE-2022-24881 Vulnerability in maven package com.hccake:ballcat-codegen
CVE-2020-15152 Vulnerability in npm package ftp-srv
CVE-2020-28471 Vulnerability in npm package properties-reader