{"id":"CVE-2017-1000188","aliases":["CLSA-2026-1774570929","DEBIAN-CVE-2017-1000188","EUVD-2017-0347","GHSA-hwcf-pp87-7x6p","UBUNTU-CVE-2017-1000188"],"status":"published","title":"mde ejs vulnerable to XSS","description":"nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01233,"percentile":0.69216,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2017-11-17T03:00:00Z","modified":"2026-10-20T10:48:00Z","fixes":[{"ecosystem":"npm","package":"ejs","fixed_in":["2.5.5"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"node-ejs","fixed_in":["2.5.7-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"node-ejs","fixed_in":["2.5.7-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"node-ejs","fixed_in":["2.5.7-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"ejs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.5"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"ejs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0-tuxcare.0"},{"fixed":"1.0.0-tuxcare.1"}]}],"versions":["1.0.0"],"bundled":5},{"source":"osv","ecosystem":"Debian:12","package":"node-ejs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.7-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"node-ejs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.7-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"node-ejs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.7-1"}]}]},{"source":"osv","ecosystem":"npm","package":"ejs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.5.5"}]}]}],"products":[{"vendor":"ejs","product":"ejs"}],"references":[{"url":"https://github.com/mde/ejs/commit/49264e0037e313a0a3e033450b5c184112516d8f","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"http://www.securityfocus.com/bid/101889","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000188","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hwcf-pp87-7x6p","tags":["advisory"]},{"url":"https://web.archive.org/web/20200227134555/http://www.securityfocus.com/bid/101889","tags":["web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-1000188","tags":["advisory"]},{"url":"https://github.com/mde/ejs","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2017-1000188","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-1000188","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-1000188","description":"nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection","status":"published","published":"2017-11-17T03:00:00Z","modified":"2024-08-05T21:53:07.088Z","updated_at":"2026-11-02T14:33:20.843976Z"}],"euvd":[{"id":"EUVD-2017-0347","description":"nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection","status":"published","published":"2017-11-17T03:00:00Z","modified":"2024-08-05T21:53:07Z","updated_at":"2026-11-03T02:23:03.593375Z"}],"ghsa":[{"id":"GHSA-hwcf-pp87-7x6p","title":"mde ejs vulnerable to XSS","description":"nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the `ejs.renderFile()` resulting in code injection","status":"published","published":"2017-11-30T23:15:05Z","modified":"2023-09-08T21:35:57Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:03.287418Z"}],"nvd":[{"id":"CVE-2017-1000188","description":"nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection","status":"published","published":"2017-11-17T03:29:00.267Z","modified":"2026-06-17T00:58:52.723Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:04:08.635428Z"}],"osv":[{"id":"CVE-2017-1000188","description":"nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection","status":"published","published":"2017-11-17T03:29:00.267Z","modified":"2026-10-20T10:48:00.327935048Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:03.472693Z"},{"id":"DEBIAN-CVE-2017-1000188","description":"nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection","status":"published","published":"2017-11-17T03:29:00.267Z","modified":"2026-09-01T20:03:40.935554053Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:28.207321Z"},{"id":"GHSA-hwcf-pp87-7x6p","title":"mde ejs vulnerable to XSS","description":"nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the `ejs.renderFile()` resulting in code injection","status":"published","published":"2017-11-30T23:15:05Z","modified":"2023-11-08T03:58:43.740712Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:49.621585Z"},{"id":"UBUNTU-CVE-2017-1000188","description":"nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection","status":"withdrawn","published":"2017-11-17T03:29:00Z","modified":"2025-07-16T07:35:34.243075Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:13.729565Z"},{"id":"CLSA-2026-1774570929","title":"TuxCare security update for ejs (5 CVEs)","description":"TuxCare rebuilt ejs to address 5 CVEs. Fixed in 1.0.0-tuxcare.1.","status":"published","published":"2026-08-04T14:52:15Z","modified":"2026-10-15T09:47:03.661053163Z","updated_at":"2026-11-02T15:43:43.621843Z"}]}}
