CVE-2024-33883

MEDIUM

ejs < 3.1.10 - Protection Mechanism Failure

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-33883. PoCs published by Grantzile.

AI-analyzed exploit summary This repository contains a functional PoC for CVE-2024-33883, demonstrating a prototype pollution attack in EJS (Embedded JavaScript templates) leading to RCE. The exploit leverages insufficient validation in EJS to manipulate the `escapeFunction` option via prototype pollution, allowing arbitrary code execution.

Description

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

Exploits (1)

nomisec WORKING POC 5 stars
by Grantzile · poc
https://github.com/Grantzile/PoC-CVE-2024-33883

This repository contains a functional PoC for CVE-2024-33883, demonstrating a prototype pollution attack in EJS (Embedded JavaScript templates) leading to RCE. The exploit leverages insufficient validation in EJS to manipulate the `escapeFunction` option via prototype pollution, allowing arbitrary code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: [email protected] (and versions below 3.1.10)
No auth needed
Prerequisites: Control over the `render()` function · Ability to perform prototype pollution on the target object
devstral-2 · analyzed Feb 19, 2026 Full analysis →

Scores

CVSS v3 4.0
EPSS 0.0061
EPSS Percentile 44.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-693
Status published
Products (1)
npm/ejs 0 - 3.1.10npm
Published Apr 28, 2024
Tracked Since Feb 18, 2026