Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-33883: n/a

0
Medium
VulnerabilityCVE-2024-33883cvecve-2024-33883
Published: Sun Apr 28 2024 (04/28/2024, 00:00:00 UTC)
Source: CVE Database V5

Description

The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/28/2026, 03:05:07 UTC

Technical Analysis

The vulnerability identified as CVE-2024-33883 affects the ejs package, a popular templating engine for Node.js applications. Versions prior to 3.1.10 lack adequate pollution protection, classified under CWE-693 (Protection Mechanism Failure). Pollution in this context refers to the unintended contamination or modification of internal data structures or variables during template rendering, which can cause unexpected behavior or resource exhaustion. The vulnerability's CVSS 3.1 base score is 4.0, indicating a medium severity level. The attack vector is local (AV:L), meaning an attacker must have local access to the system to exploit the flaw. No privileges are required (PR:N), and no user interaction is necessary (UI:N). The impact is limited to availability (A:L), potentially causing denial of service by disrupting the normal operation of applications using the vulnerable ejs versions. Confidentiality and integrity are not affected. No known exploits have been reported in the wild, and no patches or updates are explicitly linked in the provided data, but upgrading to version 3.1.10 or later is recommended to mitigate the issue. This vulnerability is particularly relevant for developers and organizations that rely on ejs for server-side rendering in Node.js environments.

Potential Impact

The primary impact of CVE-2024-33883 is on the availability of applications using vulnerable versions of the ejs package. An attacker with local access could exploit the pollution protection failure to cause denial of service, potentially leading to application crashes or degraded performance. While confidentiality and integrity remain intact, the disruption of service can affect user experience, operational continuity, and potentially lead to downtime in critical web applications. Organizations with Node.js applications that utilize ejs for templating are at risk, especially if these applications run in environments where local access by untrusted users is possible. The lack of known exploits in the wild reduces immediate risk but does not eliminate the need for remediation. The medium severity rating reflects the moderate risk posed by the vulnerability, balancing the limited attack vector with the potential for service disruption.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2024-04-28T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6c4ab7ef31ef0b56201f

Added to database: 2/25/2026, 9:40:26 PM

Last enriched: 2/28/2026, 3:05:07 AM

Last updated: 4/12/2026, 7:54:55 AM

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses