{"id":"CVE-2023-29827","published":"2023-05-04T00:00:00Z","modified":"2025-01-29T20:47:30Z","title":"ejs v3.1.9 is vulnerable to server-side template injection","vendor":null,"product":null,"tier":"core","eol":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-01-29T20:47:26.252998Z","from":"CISA ADP","provenance":"source"},"description":{"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"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.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:54:05Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.06186,"percentile":0.94273,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-09-18","exploitedFirstSeen":"2026-09-18","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2023-29827","date":"2026-09-18"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://github.com/mde/ejs/issues/720","tags":[]},{"url":"https://github.com/mde/ejs/blob/main/SECURITY.md#out-of-scope-vulnerabilities","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2023-33364","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-33364","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"nuclei":[{"id":"CVE-2023-29827","name":"Embedded JavaScript(EJS) 3.1.6 - Template Injection","severity":"critical","path":"http/cves/2023/CVE-2023-29827.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-29827.yaml"}],"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2023-05-04","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-29827","provenance":"source"},{"date":"2026-09-18","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2023-29827","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":75.7,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 68 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":18.85,"detail":"percentile 0.9427"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}