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

Configuration 1 (hide)

cpe:2.3:a:ejs:ejs:3.1.6:*:*:*:*:node.js:*:*

History

No history.

Information

Published : 2022-04-25 15:15

Updated : 2024-11-21 06:58


NVD link : CVE-2022-29078

Mitre link : CVE-2022-29078

CVE.ORG link : CVE-2022-29078


JSON object : View

Products Affected

ejs

  • ejs
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')