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).
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: mitre
Published: 2022-04-25T14:13:32
Updated: 2024-08-03T06:10:58.967Z
Reserved: 2022-04-12T00:00:00
Link: CVE-2022-29078
Vulnrichment
No data.
NVD
Status : Modified
Published: 2022-04-25T15:15:49.887
Modified: 2024-11-21T06:58:26.713
Link: CVE-2022-29078
Redhat