CVE-2024-33883: ejs · Protection Mechanism Failure
Affects ejsSource CVE Database V5
Not known to be exploited · CVSS 4.0 Medium : upgrade to 3.1.10 when convenient.
Data as of 26 Oct 2026, 09:08 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.1.10
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 28 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade ejs to 3.1.10.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmejspkg:npm/ejsOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2024-33883, organizations should upgrade the ejs package to version 3.1.10 or later, where the pollution protection issue has been addressed. In addition to patching, it is advisable to restrict local access to systems running Node.js applications using ejs, minimizing the attack surface. Implement strict access controls and monitoring on servers to detect any unauthorized local activity. Developers should review template usage to avoid passing untrusted input that could exacerbate pollution risks. Employ runtime application self-protection (RASP) or web application firewalls (WAFs) that can detect anomalous behavior related to template rendering. Regularly audit dependencies and maintain an up-to-date inventory of packages to quickly identify and remediate vulnerable components. Finally, incorporate security testing focused on template injection and pollution scenarios during development and deployment cycles.
Description
The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.