expressjs/serve-index · Security
Cross-Site Scripting in serve-index
- GHSA ID
- GHSA-v633-x5vv-hqwc
- CVE ID
- CVE-2015-8856
- Severity
- medium
- Published
- Updated
- CVSS
- 6.1 · CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 6.1 · CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Description
Versions 1.6.2 and earlier of serve-index are affected by a cross-site scripting vulnerability. Because file and directory names are not escaped in the module's HTML output, a remote attacker that can influence file or directory names can launch a persistent cross-site scripting attack on the application.
Recommendation
Update to version 1.6.3 or later.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-8856 ↗
- https://github.com/expressjs/serve-index/issues/28 ↗
- http://www.openwall.com/lists/oss-security/2016/04/20/11 ↗
- https://github.com/expressjs/serve-index/commit/7381a1d1458959e57ee53ac932b06ff17904777e ↗
- https://web.archive.org/web/20200227190911/http://www.securityfocus.com/bid/96392 ↗
- https://github.com/advisories/GHSA-v633-x5vv-hqwc ↗