ejs template injection vulnerability
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).
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2022-29078US | critical9.8 | Exploit | ||
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 inte… | ||||
02
references
External citations — patches, advisories, analysis.
- https://eslam.io/posts/ejs-server-side-template-injection-rceWEB
- https://github.com/mde/ejsPACKAGE
- https://github.com/mde/ejs/commit/15ee698583c98dadc456639d6245580d17a24bafWEB
- https://github.com/mde/ejs/releasesWEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-29078ADVISORY
- https://security.netapp.com/advisory/ntap-20220804-0001WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan