Description
nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection
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
- Marked vulnerable to XSS from data URIs - CVE-2017-1000427
- ejs is vulnerable to remote code execution due to weak input validation - CVE-2017-1000228
- ejs vulnerable to DoS due to weak input validation - CVE-2017-1000189
- rendertron XSS vulnerability - CVE-2017-18352
- Tags:
- npm
- ejs
Anything's wrong? Let us know Last updated on September 08, 2023