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-28153 Vulnerability in maven package org.jvnet.hudson.plugins:sitemonitor
CVE-2021-23760 Vulnerability in npm package keyget
CVE-2011-3190 Vulnerability in maven package org.apache.tomcat:coyote
CVE-2023-31582 Vulnerability in maven package org.bitbucket.b_c:jose4j
CVE-2020-28477 Vulnerability in maven package org.webjars.npm:immer