Lucene search

K
osvGoogleOSV:GHSA-PHWQ-J96M-2C2Q
HistoryApr 26, 2022 - 12:00 a.m.

ejs template injection vulnerability

2022-04-2600:00:40
Google
osv.dev
631

0.425 Medium

EPSS

Percentile

97.3%

The ejs (aka Embedded JavaScript templates) package 3.1.6 for Node.js allows server-side template injection in settings[view options][outputFunctionName]. This is parsed as an internal option, and overwrites the outputFunctionName option with an arbitrary OS command (which is executed upon template compilation).

CPENameOperatorVersion
ejslt3.1.7