Vulnerabilities
Vulnerable Software
Ejs:  Security Vulnerabilities
ejs v3.1.9 is vulnerable to server-side template injection. If the ejs file is controllable, template injection can be implemented through the configuration settings of the closeDelimiter parameter. NOTE: this is disputed by the vendor because the render function is not intended to be used with untrusted input.
CVSS Score
9.8
EPSS Score
0.696
Published
2023-05-04
The ejs (aka Embedded JavaScript templates) package 3.1.6 for Node.js allows server-side template injection in settings[view options][outputFunctionName]. This is parsed as an internal option, and overwrites the outputFunctionName option with an arbitrary OS command (which is executed upon template compilation).
CVSS Score
9.8
EPSS Score
0.935
Published
2022-04-25
nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection
CVSS Score
6.1
EPSS Score
0.002
Published
2017-11-17
nodejs ejs version older than 2.5.5 is vulnerable to a denial-of-service due to weak input validation in the ejs.renderFile()
CVSS Score
7.5
EPSS Score
0.009
Published
2017-11-17
nodejs ejs versions older than 2.5.3 is vulnerable to remote code execution due to weak input validation in ejs.renderFile() function
CVSS Score
9.8
EPSS Score
0.072
Published
2017-11-17


Contact Us

Shodan ® - All rights reserved