CVE-2017-1000188 json
mde ejs vulnerable to XSS
published 2017-11-17 8 y ago modified 2026-06-17 4 mo ago also GHSA-hwcf-pp87-7x6p , EUVD-2017-0347
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection
Patch / fix
- npm ejs 2.5.5
- ejs ejs 2.5.5
- node-ejs Debian 14, Debian 13, Debian 12 2.5.7-1
debian advisories DEBIAN-CVE-2017-1000188
- github.com/mde/ejs@49264e0 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-1000188 updated cvss 6.1
nodejs-ejs: Cross-site scripting via ejs.renderFile()
-
Red Hat Mobile Application Platform 4 fh-ngui, fh-appstorenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.23% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | ejs | <2.5.5 |
2.5.5 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/mde/ejs/commit/49264e0037e313a0a3e033450b5c184112516d8f
web, patch, third-party-advisory
-
securityfocus.com
/bid/101889
vdb-entry, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-1000188
advisory
-
github.com
/advisories/GHSA-hwcf-pp87-7x6p
advisory
-
github.com
/mde/ejs
package
-
web.archive.org
/web/20200227134555/http://www.securityfocus.com/bid/101889
web
Sources
- CVE List CVE-2017-1000188
- GitHub Advisory GHSA-hwcf-pp87-7x6p
- NVD CVE-2017-1000188
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.