Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/ejs@2.4.1
purl pkg:npm/ejs@2.4.1
Next non-vulnerable version 3.1.10
Latest non-vulnerable version 3.1.10
Risk 4.5
Vulnerabilities affecting this package (4)
Vulnerability Summary Fixed by
VCID-9hgv-yjdc-j7g7
Aliases:
CVE-2017-1000188
GHSA-hwcf-pp87-7x6p
Cross-site Scripting The ejs module is vulnerable to a Cross-site-scripting in `ejs.renderFile()`.
2.5.5
Affected by 1 other vulnerability.
VCID-k525-8c5h-tbdq
Aliases:
CVE-2017-1000189
GHSA-6x77-rpqf-j6mw
Improper Input Validation The ejs module is vulnerable to a denial-of-service due to weak input validation in the `ejs.renderFile()`.
2.5.5
Affected by 1 other vulnerability.
VCID-nq37-ewy1-d7et
Aliases:
CVE-2017-1000228
GHSA-3w5v-p54c-f74x
Improper Input Validation The ejs module is vulnerable to remote code execution due to weak input validation in `ejs.renderFile()` function.
2.5.3
Affected by 3 other vulnerabilities.
2.5.5
Affected by 1 other vulnerability.
VCID-tzhu-kbcs-7kbv
Aliases:
CVE-2024-33883
GHSA-ghr5-ch3p-vcr6
ejs lacks certain pollution protection The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.
3.1.10
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T04:50:44.283524+00:00 GitLab Importer Affected by VCID-tzhu-kbcs-7kbv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/ejs/CVE-2024-33883.yml 38.6.0
2026-06-04T20:10:17.497297+00:00 GitLab Importer Affected by VCID-k525-8c5h-tbdq https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/ejs/CVE-2017-1000189.yml 38.6.0
2026-06-04T20:10:17.267935+00:00 GitLab Importer Affected by VCID-nq37-ewy1-d7et https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/ejs/CVE-2017-1000228.yml 38.6.0
2026-06-04T20:10:17.058088+00:00 GitLab Importer Affected by VCID-9hgv-yjdc-j7g7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/ejs/CVE-2017-1000188.yml 38.6.0