{"id":"CVE-2023-29827","aliases":["DEBIAN-CVE-2023-29827","EUVD-2023-33364","GHSA-j5pp-6f4w-r5r6"],"status":"disputed","title":"ejs v3.1.9 is vulnerable to server-side template injection. If the ejs file is controllable,...","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.05552,"percentile":0.92947,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-74"],"published":"2023-05-04T00:00:00Z","modified":"2026-10-26T18:00:52Z","exploits":[{"source":"nuclei","id":"CVE-2023-29827","title":"Embedded JavaScript(EJS) 3.1.6 - Template Injection","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-29827.yaml"}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"node-ejs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.10+~3.1.5-1","3.1.10+~3.1.5-2","3.1.8+~3.1.1-2","3.1.9+~3.1.5-1"]},{"source":"osv","ecosystem":"Debian:13","package":"node-ejs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.10+~3.1.5-2"]},{"source":"osv","ecosystem":"Debian:14","package":"node-ejs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.10+~3.1.5-2"]}],"products":[{"vendor":"ejs","product":"ejs"}],"references":[{"url":"https://github.com/mde/ejs/issues/720","tags":["x_transferred","Exploit","Issue Tracking","Patch","fix"]},{"url":"https://github.com/mde/ejs/blob/main/SECURITY.md#out-of-scope-vulnerabilities","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29827"},{"url":"https://github.com/advisories/GHSA-j5pp-6f4w-r5r6"},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-29827","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2023-29827","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.","status":"disputed","published":"2023-05-04T00:00:00Z","modified":"2025-01-29T20:47:30.293Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"updated_at":"2026-11-02T14:35:28.643185Z"}],"euvd":[{"id":"EUVD-2023-33364","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.","status":"published","published":"2023-05-04T00:00:00Z","modified":"2025-01-29T20:47:30Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T00:04:09.506854Z"}],"ghsa":[{"id":"GHSA-j5pp-6f4w-r5r6","title":"ejs v3.1.9 is vulnerable to server-side template injection. If the ejs file is controllable,...","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.","status":"published","published":"2023-05-04T15:30:21Z","modified":"2024-03-21T03:35:14Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:55:42.026509Z"}],"nvd":[{"id":"CVE-2023-29827","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.","status":"disputed","published":"2023-05-04T14:15:11.363Z","modified":"2026-06-17T05:50:55.517Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-74"],"updated_at":"2026-11-02T14:07:59.151142Z"}],"osv":[{"id":"CVE-2023-29827","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.","status":"published","published":"2023-05-04T14:15:11.363Z","modified":"2026-03-14T12:04:58.103154Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:31.468318Z"},{"id":"DEBIAN-CVE-2023-29827","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.","status":"published","published":"2023-05-04T14:15:11.363Z","modified":"2026-10-26T18:00:52.098295756Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:39.679062Z"}]}}
