{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"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)."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2022-08-04T17:06:26.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://github.com/mde/ejs/releases"},{"tags":["x_refsource_MISC"],"url":"https://eslam.io/posts/ejs-server-side-template-injection-rce/"},{"tags":["x_refsource_CONFIRM"],"url":"https://security.netapp.com/advisory/ntap-20220804-0001/"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-29078","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/mde/ejs/releases","refsource":"MISC","url":"https://github.com/mde/ejs/releases"},{"name":"https://eslam.io/posts/ejs-server-side-template-injection-rce/","refsource":"MISC","url":"https://eslam.io/posts/ejs-server-side-template-injection-rce/"},{"name":"https://security.netapp.com/advisory/ntap-20220804-0001/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20220804-0001/"}]}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T06:10:58.967Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/mde/ejs/releases"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://eslam.io/posts/ejs-server-side-template-injection-rce/"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://security.netapp.com/advisory/ntap-20220804-0001/"}]}]},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2022-29078","datePublished":"2022-04-25T14:13:32.000Z","dateReserved":"2022-04-12T00:00:00.000Z","dateUpdated":"2024-08-03T06:10:58.967Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}