Install
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
Source · Homepage · Ask AI Mode · · Markdown
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
- Full-Stack TodoApp: Node.js, Express, MongoDB, and EJS Guide dev.to, 23 Sep 2025
- Web Dev Day 8: Backend - NodeJS, Express, Ejs, REST (Part - 1) dev.to, 3 Jun 2025
- express and ejs: useing ejs with other file extensions: require not working stackoverflow.com, 4 Feb 2025
- React - Server side rendering with EJS - Will google be able to crawl? webmasters.stackexchange.com, 21 Jan 2025
- Server side rendering with EJS - Will google be able to crawl? webmasters.stackexchange.com, 21 Jan 2025
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.