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
- Mammoth is vulnerable to Directory Traversal - CVE-2025-11849
- json-logic-js Command Injection vulnerability - CVE-2021-4329
- Bootstrap Cross-site Scripting vulnerability - CVE-2016-10735
- protobufjs Prototype Pollution vulnerability - CVE-2023-36665
- Tags:
- npm
- dot
Anything's wrong? Let us know Last updated on January 27, 2023