{"id":"UBUNTU-CVE-2023-29827","details":"** DISPUTED ** 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.","modified":"2023-05-04T14:15:00Z","published":"2023-05-04T14:15:00Z","withdrawn":"2025-06-23T15:56:50Z","references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-29827"},{"type":"REPORT","url":"https://github.com/mde/ejs/issues/720"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-29827"}],"affected":[{"package":{"name":"node-ejs","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/node-ejs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.2-1","2.5.7-1"],"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-29827.json"}},{"package":{"name":"node-ejs","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-ejs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.7-1"],"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-29827.json"}},{"package":{"name":"node-ejs","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-ejs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.7-3","3.1.6-2"],"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-29827.json"}},{"package":{"name":"node-ejs","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/node-ejs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.8+~3.1.1-2","3.1.9+~3.1.5-1"],"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-29827.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}