CVE-2022-29078

unknown
Published 2022-04-26 · Modified 2023-11-08
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
VIR risk

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

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-29078

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed3.1.7-1
debian debianbullseyefixed2.5.7-3+deb11u1
debian debianforkyfixed3.1.7-1
debian debiansidfixed3.1.7-1
debian debiantrixiefixed3.1.7-1

Package impact

EcosystemPackageVulnerableFixed
npm npmejs<3.1.73.1.7

References

Verify integrity in audit chain (admin only). AS-IS.