Server-Side Template Injection in ejs v3.1.9 through closeDelimiter Configuration

Server-Side Template Injection in ejs v3.1.9 through closeDelimiter Configuration

CVE-2023-29827 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Cis Benchmark Audit For Server Software.