CVE-2017-1000188
MEDIUM 6.1CVSS 3.0mde ejs vulnerable to XSS
nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection
- Published
- 17 Nov 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-hwcf-pp87-7x6p
- Sources
- NVDJSONOSV GHSA-hwcf-pp87-7x6pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ejs | ejscpe:2.3:a:ejs:ejs:*:*:*:*:*:*:*:* |
< 2.5.5 | 2.5.5 |
| OSV | npm | ejs | < 2.5.5 | 2.5.5 |
References
- http://www.securityfocus.com/bid/101889 · Third Party Advisory, VDB Entry
- https://github.com/mde/ejs/commit/49264e0037e313a0a3e033450b5c184112516d8f · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000188 · ADVISORY
- https://github.com/advisories/GHSA-hwcf-pp87-7x6p · ADVISORY
- https://github.com/mde/ejs · PACKAGE
- https://web.archive.org/web/20200227134555/http://www.securityfocus.com/bid/101889 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 17 Nov 2017)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Nov 2017)