Vulnerability in Ejs
CVE-2023-29827
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.056 (92.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 93rd percentile — 92.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.056 · newest: 0.056 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/mde/ejs/issues/720 (Exploit, Patch, Issue Tracking)
- github.com/mde/ejs/blob/main/SECURITY.md (Third Party Advisory)
Frequently asked questions
- What is CVE-2023-29827?
- CVE-2023-29827 is a critical-severity vulnerability in Ejs, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 9.8/10. Published 2023-05-04.
- How severe is CVE-2023-29827?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2023-29827 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.