Description
nodejs ejs version older than 2.5.5 is vulnerable to a denial-of-service due to weak input validation in ejs.renderFile()
Recommendation
Update the ejs package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.5.5
- Patched version(s): 2.5.5
References
Related Issues
- ejs is vulnerable to remote code execution due to weak input validation - CVE-2017-1000228
- materialize-css vulnerable to cross-site Scripting (XSS) due to improper escape of user input - CVE-2022-25349
- mde ejs vulnerable to XSS - CVE-2017-1000188
- jquery-validation Regular Expression Denial of Service due to arbitrary input to url2 method - CVE-2022-31147
- Tags:
- npm
- ejs
Anything's wrong? Let us know Last updated on September 08, 2023