GitHub Advisoryadvisory · npm
GHSA-hwcf-pp87-7x6p mde ejs vulnerable to XSS
MEDIUM
Official page ↗
- Aliases
- CVE-2017-1000188
- Ecosystem
- npm
- Packages
- ejs
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2020-06-16
Affected packages
• npm ejs: < 2.5.5 → fixed in 2.5.5
Description
nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the `ejs.renderFile()` resulting in code injection
Related
Alias · CVE (1)
- CVE-2017-1000188 nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000188 advisory
- https://github.com/mde/ejs/commit/49264e0037e313a0a3e033450b5c184112516d8f web
- 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