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-2021-23663 Vulnerability in npm package sey
CVE-2023-49375 Vulnerability in maven package com.jfinal:jfinal
CVE-2023-47324 Vulnerability in maven package org.silverpeas.core:silverpeas-core-api
CVE-2020-28500 Vulnerability in maven package org.webjars.bower:lodash
CVE-2022-45690 Vulnerability in maven package cn.hutool:hutool-json