CriticalGHSA-3w5v-p54c-f74xCVE-2017-1000228
ejs is vulnerable to remote code execution due to weak input validation
Published 30 Nov 2017 · Updated 8 Nov 2023
Affected package
ejsnpm
- Affected
- <2.5.5
- Fixed in
- 2.5.5
Update to the fixed version for your release line, for example:
npm install ejs@2.5.5Details
nodejs ejs versions older than 2.5.3 is vulnerable to remote code execution due to weak input validation in ejs.renderFile() function
Is GHSA-3w5v-p54c-f74x in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected ejs, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.