Critical (9.8) in ejs ejs. EPSS 33% chance of exploitation in the next 30 days. Fixed in ejs 3.1.7.
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).
Severity
CVSS 3.1
9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
33% chance of exploitation in the next 30 days; higher than 98% of CVEs (scores of 2026-10-31)