VDB
Sign up
MEDIUM6.1

GHSA-hwcf-pp87-7x6p

mde ejs vulnerable to XSS

Quick fix

GHSA-hwcf-pp87-7x6p — 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 Cross-site-scripting in the `ejs.renderFile()` resulting in code injection

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