ejs is vulnerable to remote code execution due to weak input validation
- Severity:
- High
Description
nodejs ejs versions older than 2.5.3 is vulnerable to remote code execution due to weak input validation in ejs.renderFile() function
Recommendation
Update the ejs package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.5.3
- Patched version(s): 2.5.5
References
Related Issues
- ejs vulnerable to DoS due to weak input validation - CVE-2017-1000189
- Strapi plugins vulnerable to Server-Side Template Injection and Remote Code Execution in the Users-Permissions Plugin - CVE-2023-22621
- react-dev-utils on Windows vulnerable to Remote Code Execution - CVE-2018-6342
- Strapi plugins vulnerable to Server-Side Template Injection and Remote Code Execution in the Users-Permissions Plugin (GHSA-2h87-4q2w-v4hf) - CVE-2023-22621
- Tags:
- npm
- ejs
Anything's wrong? Let us know Last updated on September 08, 2023