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.
References
Link | Resource |
---|---|
https://github.com/mde/ejs/blob/main/SECURITY.md#out-of-scope-vulnerabilities | |
https://github.com/mde/ejs/issues/720 | Exploit Issue Tracking Patch |
Configurations
History
07 Nov 2023, 04:11
Type | Values Removed | Values Added |
---|---|---|
Summary | 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. |
Information
Published : 2023-05-04 14:15
Updated : 2024-08-02 15:15
NVD link : CVE-2023-29827
Mitre link : CVE-2023-29827
CVE.ORG link : CVE-2023-29827
JSON object : View
Products Affected
ejs
- ejs
CWE
CWE-74
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')