{"id":"CVE-2023-29827","aliases":["CVE-2023-29827"],"related":[],"kind":"vulnerability","state":"published","title":"ejs v3.1.9 is vulnerable to server-side template injection.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-05-04T00:00:00.000Z","modified":"2026-06-17T05:50:55.517Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.1.9"}],"vendor":"ejs","product":"ejs","cpe":"cpe:2.3:a:ejs:ejs:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/mde/ejs/issues/720","tags":["exploit","issue-tracking","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mde/ejs/blob/main/SECURITY.md#out-of-scope-vulnerabilities","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-01-29T20:47:26.252Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-29827","url":"https://www.cve.org/CVERecord?id=CVE-2023-29827","licence":"CVE Terms of Use","modified":"2025-01-29T20:47:30.293Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-29827","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29827","licence":"Public domain","modified":"2026-06-17T05:50:55.517Z"}],"updatedAt":"2026-11-25T22:58:23.902Z","epss":{"score":0.05552,"percentile":0.93014,"date":"2026-12-01T12:00:22.000Z"}}