Skip to content
OpenAdvisories
Medium · 6.1 CVE-2017-1000188 EUVD-2017-0347GHSA-hwcf-pp87-7x6p

mde ejs vulnerable to XSS

Published Nov 17, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-ejs 2.5.7-1 —
Debian 13 node-ejs 2.5.7-1 —
Debian 12 node-ejs 2.5.7-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm ejs < 2.5.5 2.5.5 GHSA-hwcf-pp87-7x6p

References