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.
Log in to view the POC file snapshot cached by Shenlong Bot
Log in to view