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
- Apostrophe has a Weak Password Recovery Mechanism for Forgotten Password and Improper Input Validation - CVE-2026-45013
- 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
You might also like:
- Tags:
- npm
- ejs
Anything's wrong? Let us know Last updated on September 08, 2023


