{"id":"GHSA-3w5v-p54c-f74x","summary":"ejs is vulnerable to remote code execution due to weak input validation","details":"nodejs ejs versions older than 2.5.3 is vulnerable to remote code execution due to weak input validation in `ejs.renderFile()` function","aliases":["CVE-2017-1000228"],"modified":"2023-11-08T03:58:44.472757Z","published":"2017-11-30T23:15:19Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-20"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2020-06-16T20:56:38Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000228"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3w5v-p54c-f74x"},{"type":"WEB","url":"https://snyk.io/vuln/npm:ejs:20161128"},{"type":"WEB","url":"https://web.archive.org/web/20171123041219/http://www.securityfocus.com/bid/101897"}],"affected":[{"package":{"name":"ejs","ecosystem":"npm","purl":"pkg:npm/ejs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.5.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/11/GHSA-3w5v-p54c-f74x/GHSA-3w5v-p54c-f74x.json","last_known_affected_version_range":"\u003c 2.5.3"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}