Patchfirst
CVE-2023-29827 Public exploit Critical · 9.8 EPSS 5.6%

ejs v3.1.9 is vulnerable to server-side template injection

No fixed version listed yet.Check the vendor advisory. References ↓

Summary

The ejs (Embedded JavaScript templating) library at version 3.1.9 contains a server-side template injection flaw that can be triggered through the closeDelimiter configuration setting. An attacker who can control the ejs template file and the closeDelimiter option can inject template code, though the vendor disputes this because the render function is not intended to receive untrusted input.

Official description · CVE.org

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.

Breakdown
75.5 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 3 years after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+3 yrs
↑ ↓ chooseEnter openEsc close