VulnerabilityAnalyzed
CVE-2023-29827
ejs v3.1.9 is vulnerable to server-side template injection.
CRITICAL 9.8EPSS 5.55%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (5.55%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 5.55% probability · 92th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-74
- Affected
- ejs/ejs
- Source
- cve@mitre.org
References
- https://github.com/mde/ejs/blob/main/SECURITY.md#out-of-scope-vulnerabilitiesThird Party Advisory
- https://github.com/mde/ejs/issues/720Exploit, Issue Tracking, Patch
- https://github.com/mde/ejs/blob/main/SECURITY.md#out-of-scope-vulnerabilitiesThird Party Advisory
- https://github.com/mde/ejs/issues/720Exploit, Issue Tracking, Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.