CVEvulnerability
CVE-2023-29827
9.8 CRITICAL
Official page ↗
- Status
- Analyzed
- Published
- 2023-05-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-74
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.
Affected configurations
• ejs ejs (>= 3.1.9)
Related
Weakness · CWE (1)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
References
- https://github.com/mde/ejs/blob/main/SECURITY.md#out-of-scope-vulnerabilities Third Party Advisory
- https://github.com/mde/ejs/issues/720 Exploit, Issue Tracking, Patch
- https://github.com/mde/ejs/blob/main/SECURITY.md#out-of-scope-vulnerabilities Third Party Advisory
- https://github.com/mde/ejs/issues/720 Exploit, Issue Tracking, Patch