CVE-2017-1000228
CRITICAL 9.8CVSS 3.0ejs is vulnerable to remote code execution due to weak input validation
nodejs ejs versions older than 2.5.3 is vulnerable to remote code execution due to weak input validation in ejs.renderFile() function
- Published
- 17 Nov 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-3w5v-p54c-f74x
- Sources
- NVDJSONOSV GHSA-3w5v-p54c-f74xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ejs | ejscpe:2.3:a:ejs:ejs:*:*:*:*:*:*:*:* |
< 2.5.3 | 2.5.3 |
| OSV | npm | ejs | < 2.5.5 | 2.5.5 |
References
- http://www.securityfocus.com/bid/101897 · Third Party Advisory, VDB Entry
- https://snyk.io/vuln/npm:ejs:20161128 · Exploit, Technical Description, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000228 · ADVISORY
- https://github.com/advisories/GHSA-3w5v-p54c-f74x · ADVISORY
- https://web.archive.org/web/20171123041219/http://www.securityfocus.com/bid/101897 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 17 Nov 2017)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 Nov 2017)