{"id":"GHSA-hwcf-pp87-7x6p","summary":"mde ejs vulnerable to XSS","details":"nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the `ejs.renderFile()` resulting in code injection","aliases":["CVE-2017-1000188"],"modified":"2023-11-01T04:47:22.326389Z","published":"2017-11-30T23:15:05Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:41:14Z","nvd_published_at":null,"cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000188"},{"type":"WEB","url":"https://github.com/mde/ejs/commit/49264e0037e313a0a3e033450b5c184112516d8f"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hwcf-pp87-7x6p"},{"type":"PACKAGE","url":"https://github.com/mde/ejs"},{"type":"WEB","url":"https://web.archive.org/web/20200227134555/http://www.securityfocus.com/bid/101889"}],"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-hwcf-pp87-7x6p/GHSA-hwcf-pp87-7x6p.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}