VDB
Sign up
HIGH7.5

GHSA-6x77-rpqf-j6mw

ejs vulnerable to DoS due to weak input validation

Quick fix

GHSA-6x77-rpqf-j6mw — ejs: upgrade to the fixed version with the command below.

npm install ejs@2.5.5

Details

nodejs ejs version older than 2.5.5 is vulnerable to a denial-of-service due to weak input validation in `ejs.renderFile()`

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/ejs
Introduced in: 0Fixed in: 2.5.5
Fixnpm install ejs@2.5.5

References