# CVE-2017-1000188: mde ejs vulnerable to XSS

- Severity: Medium 6.1 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.23%, higher than 69% of CVEs (2026-12-01)
- Published: 2017-11-17T03:00:00.000Z
- Modified: 2026-06-17T00:58:52.723Z
- Also known as: GHSA-hwcf-pp87-7x6p
- Weaknesses: CWE-79
- 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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ejs (npm): before 2.5.5
- ejs ejs: before 2.5.5

## Every score

- GitHub: CVSS:3.0 6.1 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.0 6.1 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/mde/ejs/commit/49264e0037e313a0a3e033450b5c184112516d8f> (patch, third-party-advisory, web)
- <http://www.securityfocus.com/bid/101889> (third-party-advisory, vdb-entry)
- <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)

## Sources

- CVE List: [CVE-2017-1000188](https://www.cve.org/CVERecord?id=CVE-2017-1000188), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-hwcf-pp87-7x6p](https://github.com/advisories/GHSA-hwcf-pp87-7x6p), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2017-1000188](https://nvd.nist.gov/vuln/detail/CVE-2017-1000188), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2017-1000188 · Whole record: https://cve.day/CVE-2017-1000188.json · Rebuilt by cve.day 2026-11-25T22:57:33.577Z
