peter bassill · operator
$ cve CVE-2022-29078 JSON

CVE-2022-29078

9.8
CRITICAL · CVSS 3.1 · EPSS 32.8% (pctl 98)

Patch early

EPSS 32.8% — above the 10% action threshold.

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

Scoring

CVSS9.8 (CRITICAL, v3.1)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS32.81% — more likely to be exploited than 98% of all CVEs
WeaknessCWE-94
On CISA KEVno
Public exploitnone known
Published2022-04-25
Last modified2026-06-17

Affected (1)

VendorProduct
ejsejs

References

→ the Explorer  ·  watch your stack  ·  NVD