CVE-2022-29078

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).

Score
CVSS 3.1 9.8 Critical
Status
Modified - cve@mitre.org
Published
2022-04-25
Last modified
2024-08-03
Weaknesses
CWE-94

Affected products

References