Skip to content

Write-ups

Node.js third-party modules (EJS)

Every publicly disclosed report for Node.js third-party modules (EJS) and what kind of bugs they were.

disclosed reports
1
most reported class
Prototype pollution
bug classes found
1

Disclosed reports

Newest first. Only what Node.js third-party modules (EJS) chose to make public.

Prototype pollution

EJS - Server Side Prototype Pollution gadgets to RCE

The EJS templating library trusts the prototype of the options object passed to it, so if an application lets an attacker pollute Object.prototype, EJS picks up attacker-controlled options. Setting the client and escapeFunction options causes attacker code to be placed into the compiled template function and evaluated, giving remote code execution.

Node.js third-party modules (EJS)