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 Neutralization of Input During Web Page Generation in swagger-ui - CVE-2016-1000229
- Code injection in electerm - CVE-2020-23256
- happy-dom's `--disallow-code-generation-from-strings` is not sufficient for isolating untrusted JavaScript - CVE-2025-62410
- Improper Validation and Sanitization in url-parse - CVE-2020-8124
- Tags:
- npm
- dot
Anything's wrong? Let us know Last updated on January 27, 2023