# ejs (npm) vulnerabilities

5 known vulnerabilities (1 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://www.npmjs.com/package/ejs

## Advisories (5)

### [CVE-2024-33883](https://cve.now/CVE-2024-33883): The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.

- Severity: Medium 4.0
- Published: Apr 28, 2024
- Affected: fixed in 3.1.10.

### [CVE-2022-29078](https://cve.now/CVE-2022-29078): The ejs (aka Embedded JavaScript templates) package 3.1.6 for Node.js allows server-side template injection in settings\[view…

- Severity: Unrated
- Published: Apr 25, 2022
- Affected: fixed in 3.1.7.

### [CVE-2017-1000228](https://cve.now/CVE-2017-1000228): nodejs ejs versions older than 2.5.3 is vulnerable to remote code execution due to weak input validation in ejs.renderFile() function

- Severity: Unrated
- Published: Nov 17, 2017
- Affected: fixed in 2.5.5.

### [CVE-2017-1000189](https://cve.now/CVE-2017-1000189): nodejs ejs version older than 2.5.5 is vulnerable to a denial-of-service due to weak input validation in the ejs.renderFile()

- Severity: Unrated
- Published: Nov 17, 2017
- Affected: fixed in 2.5.5.

### [CVE-2017-1000188](https://cve.now/CVE-2017-1000188): nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection

- Severity: Unrated
- Published: Nov 17, 2017
- Affected: fixed in 2.5.5.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/ejs
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
