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.
Recommendation
Update the dot package to the latest compatible version. Followings are version details:
- Affected version(s): <= 1.1.2
- Patched version(s): 1.1.3
References
Related Issues
- Improper Control of Generation of Code ('Code Injection') in @tygo-van-den-hurk/slyde - CVE-2026-26974
- Budibase Improper Control of Dynamically-Managed Code Resources vulnerability - CVE-2022-3225
- Improper Neutralization of Input During Web Page Generation in swagger-ui - CVE-2016-1000229
- Arbitrary code execution in djv - CVE-2020-28464
- Tags:
- npm
- dot
Anything's wrong? Let us know Last updated on January 27, 2023