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.
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Ejs | Ejs | 3.1.9 (including) | 3.1.9 (including) |
Node-ejs | Ubuntu | bionic | * |
Node-ejs | Ubuntu | kinetic | * |
Node-ejs | Ubuntu | lunar | * |
Node-ejs | Ubuntu | mantic | * |
Node-ejs | Ubuntu | trusty | * |
Node-ejs | Ubuntu | xenial | * |