Skip to main content
CRITICAL

CVE-2022-29078

CVSS v3

9.8

CRITICAL

EPSS Score

32.8 %

exploit probability, as of 2026-10-05

CISA KEV

No

known exploited

Exploitation

—

SSVC status

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

Technical details

Published
2022-04-25

Frequently asked questions

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

Is CVE-2022-29078 actively exploited?

Active exploitation of CVE-2022-29078 has not been confirmed. Its EPSS score was 32.8% on 2026-10-05, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-29078?

CVE-2022-29078 has a CVSS v3 base score of 9.8 (CRITICAL severity).

Is CVE-2022-29078 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.

No credit card required · 50 free checks/month · Free API key