Vulnerability

CVE-2022-29078

criticalCVSS 3.1 9.8Published 25 Apr 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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

From the NVD's configuration data (CPE), vendor first.

  • Ejs ejs

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning