ADVISORIES

Vulnerability

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

4 advisories report this vulnerability, across 4 ecosystems.

Advisories in Ubuntu

  • UBUNTU-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…

    CVE-2022-29078 Ubuntu Updated 24 November 2026

References