cvedb.io
CVE-2022-29078
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2022-04-25T15:15:49.887 · Last modified 2026-06-17T04:39:32.440

Summary

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

Affected products

ejs — ejs

Does this affect you?

Add your gear to cvedb and we'll alert you only when ejs ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.