{"id":"UBUNTU-CVE-2017-1000188","details":"nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection","modified":"2025-07-16T07:35:34.243075Z","published":"2017-11-17T03:29:00Z","withdrawn":"2025-07-18T16:44:20Z","upstream":["CVE-2017-1000188"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-1000188"},{"type":"REPORT","url":"https://github.com/mde/ejs/commit/49264e0037e313a0a3e033450b5c184112516d8f"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-1000188"}],"affected":[{"package":{"name":"node-ejs","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/node-ejs@2.5.7-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.7-1"}]}],"versions":["2.5.2-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"node-ejs","binary_version":"2.5.7-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000188.json"}},{"package":{"name":"node-ejs","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-ejs@2.5.7-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.7-1"}]}],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"node-ejs","binary_version":"2.5.7-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000188.json"}},{"package":{"name":"node-ejs","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-ejs@3.1.6-2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.6-2"}]}],"versions":["2.5.7-3"],"ecosystem_specific":{"binaries":[{"binary_name":"node-ejs","binary_version":"3.1.6-2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000188.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}