CVE-2024-33883
ejs lacks certain pollution protection
The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
4.0
The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.
- Record
CVE-2024-33883- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-693
- Updated
- 2026-11-02
EUVDEUVD-2024-1209
4.0
The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.
- Record
EUVD-2024-1209- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-ghr5-ch3p-vcr6
6.9
ejs lacks certain pollution protection
The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.
- Record
GHSA-ghr5-ch3p-vcr6- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-693, CWE-1321
- Updated
- 2026-11-02
NVD
4.0
The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.
- Record
CVE-2024-33883- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-693
- Updated
- 2026-11-02
OSV
4.0
The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.
- Record
CVE-2024-33883- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-33883
4.0
The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.
- Record
DEBIAN-CVE-2024-33883- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
Show 6 moreShow less
OSVGHSA-ghr5-ch3p-vcr6
6.9
ejs lacks certain pollution protection
The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.
- Record
GHSA-ghr5-ch3p-vcr6- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-1321, CWE-693
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-33883
4.0
The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.
- Record
UBUNTU-CVE-2024-33883- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVCLSA-2026-1774570929 No score
TuxCare security update for ejs (5 CVEs)
TuxCare rebuilt ejs to address 5 CVEs. Fixed in 1.0.0-tuxcare.1.
- Record
CLSA-2026-1774570929- Updated
- 2026-11-02
OSVCLSA-2026-1774570931 No score
TuxCare security update for ejs (2 CVEs)
TuxCare rebuilt ejs to address 2 CVEs. Fixed in 2.7.4-tuxcare.1.
- Record
CLSA-2026-1774570931- Updated
- 2026-11-02
OSVCLSA-2026-1780534260 No score
TuxCare security update for ejs (1 CVE)
TuxCare rebuilt ejs to address 1 CVE. Fixed in 3.1.9-tuxcare.1.
- Record
CLSA-2026-1780534260- Updated
- 2026-11-02
OSVROOT-APP-NPM-CVE-2024-33883 No score
CVE-2024-33883 in @rootio/ejs - Patched by Root
Root has patched CVE-2024-33883 in the @rootio/ejs package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2024-33883- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ejsnpm |
before 3.1.10 | 3.1.10 |
ejsTuxCare:npm From an advisory covering 5 CVEs |
1.0.0-tuxcare.0 up to 1.0.0-tuxcare.1, plus listed versions 1.0.0 |
1.0.0-tuxcare.1 |
ejsTuxCare:npm From an advisory covering 2 CVEs |
2.7.4-tuxcare.0 up to 2.7.4-tuxcare.1, plus listed versions 2.7.4 |
2.7.4-tuxcare.1 |
ejsTuxCare:npm |
3.1.9-tuxcare.0 up to 3.1.9-tuxcare.1, plus listed versions 3.1.9 |
3.1.9-tuxcare.1 |
node-ejsDebian:12 |
All versions, plus listed versions 3.1.10+~3.1.5-13.1.10+~3.1.5-23.1.8+~3.1.1-23.1.9+~3.1.5-1 |
None known |
node-ejsDebian:13 |
before 3.1.10+~3.1.5-1 | 3.1.10+~3.1.5-1 |
node-ejsDebian:14 |
before 3.1.10+~3.1.5-1 | 3.1.10+~3.1.5-1 |
@rootio/ejsRoot:npm |
before 2.7.4-root.io.1 | 2.7.4-root.io.1 |
ejsRoot:npm |
before 2.7.4-aikido.1 | 2.7.4-aikido.1 |
node-ejsUbuntu:18.04:LTS |
All versions, plus listed versions 2.5.2-12.5.7-1 |
None known |
node-ejsUbuntu:20.04:LTS |
All versions, plus listed versions 2.5.7-1 |
None known |
node-ejsUbuntu:22.04:LTS |
All versions, plus listed versions 2.5.7-33.1.6-2 |
None known |
node-ejsUbuntu:24.04:LTS |
All versions, plus listed versions 3.1.8+~3.1.1-23.1.9+~3.1.5-1 |
None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | Grantzile/PoC-CVE-2024-33883 | 2024-06-25 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-33883 is a medium vulnerability (CVSS 4.0) in ejs, published April 28, 2024. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.61%, the 49th percentile. Fixed in ejs 3.1.10.
References
github.com/mde/ejs/commit/e469741dca7df2eb400199e1cdb74621e3f89aa5
github.com/mde/ejs/compare/v3.1.9...v3.1.10
security.netapp.com/advisory/ntap-20240605-0003
nvd.nist.gov/vuln/detail/CVE-2024-33883
github.com/advisories/GHSA-ghr5-ch3p-vcr6
github.com/CVEProject/cvelistV5/tree/main/cves/2024/33xxx/CVE-2024-33883.json