CVE-2023-29827
9.8critical
ejs v3.1.9 is vulnerable to server-side template injection.
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 5.55% (higher than 93% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| ejs ejs | from 3.1.9 | NVD |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
References
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-29827 changed 2025-01-29 | CVE Terms of Use |
| NVD | CVE-2023-29827 changed 2026-06-17 | Public domain |