Vulnerability Description
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
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ejs | Ejs | >= 3.1.9 |
Related Weaknesses (CWE)
References
- https://github.com/mde/ejs/blob/main/SECURITY.md#out-of-scope-vulnerabilitiesThird Party Advisory
- https://github.com/mde/ejs/issues/720ExploitIssue TrackingPatch
- https://github.com/mde/ejs/blob/main/SECURITY.md#out-of-scope-vulnerabilitiesThird Party Advisory
- https://github.com/mde/ejs/issues/720ExploitIssue TrackingPatch
FAQ
What is CVE-2023-29827?
CVE-2023-29827 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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. N...
How severe is CVE-2023-29827?
CVE-2023-29827 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2023-29827?
Check the references section above for vendor advisories and patch information. Affected products include: Ejs Ejs.