ejs

Embedded JavaScript templates

7.0.2Latest, 18 Oct 2026
264MDownloads, last month
0Advisories on the latest
5Advisories, all versions
Apache-2.0Licence
8.1KStars
2.9/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Moderate ejs lacks certain pollution protection CVE-2024-33883 Fixed in 3.1.10 28 Apr 2024
Critical ejs template injection vulnerability CVE-2022-29078 Fixed in 3.1.7 26 Apr 2022
High ejs vulnerable to DoS due to weak input validation CVE-2017-1000189 Fixed in 2.5.5 5 Mar 2018
Critical ejs is vulnerable to remote code execution due to weak input validation CVE-2017-1000228 Fixed in 2.5.5 30 Nov 2017
Moderate mde ejs vulnerable to XSS CVE-2017-1000188 Fixed in 2.5.5 30 Nov 2017

In the news

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.