VULNERABILITY INTELLIGENCE
CVE-2022-29078
CVSS score9.8 CRITICAL
EPSS probability32.81%
CISA KEVNot currently listed
Published2022-04-25
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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).
Weakness classification
- nvd@nist.gov: CWE-94
Primary references
- cve@mitre.org — Exploit, Patch, Third Party Advisory
- cve@mitre.org — Release Notes, Third Party Advisory
- cve@mitre.org — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Release Notes, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory