MediumGHSA-hwcf-pp87-7x6pCVE-2017-1000188
mde ejs vulnerable to XSS
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 version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection
Is GHSA-hwcf-pp87-7x6p 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.