{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-1000228","id":"CVE-2017-1000228","title":"ejs is vulnerable to remote code execution due to weak input validation","description":"nodejs ejs versions older than 2.5.3 is vulnerable to remote code execution due to weak input validation in ejs.renderFile() function","descriptionLong":"nodejs ejs versions older than 2.5.3 is vulnerable to remote code execution due to weak input validation in ejs.renderFile() function","published":"2017-11-17T03:00:00.000Z","updated":"2026-10-24T10:30:29.495503032Z","reserved":"2017-11-16T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":10,"vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","rating":"critical","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"ejs","purl":"pkg:npm/ejs","ranges":["<2.5.5"],"fixed":["2.5.5"],"advisory":"GHSA-3w5v-p54c-f74x"}],"cwes":["CWE-20"],"aliases":["GHSA-3w5v-p54c-f74x"],"references":[{"url":"http://www.securityfocus.com/bid/101897","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://snyk.io/vuln/npm:ejs:20161128","tags":["x_refsource_MISC","x_transferred","Exploit","Technical Description","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000228","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-3w5v-p54c-f74x","tags":["advisory"]},{"url":"https://web.archive.org/web/20171123041219/http://www.securityfocus.com/bid/101897","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0638,"epssPercentile":0.93795,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-1000228","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000228","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-1000228","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3w5v-p54c-f74x","ok":true,"note":"GHSA-3w5v-p54c-f74x"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-1000228","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}