medium6.1
CVE-2015-8856
Cross-Site Scripting in serve-index
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | serve-index | < 1.6.3 | 1.6.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Openjsf | Serve-Index | before 1.6.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2016/04/20/11
- http://www.securityfocus.com/bid/96392
- https://nodesecurity.io/advisories/34
- https://github.com/advisories/GHSA-v633-x5vv-hqwc
- https://nvd.nist.gov/vuln/detail/CVE-2015-8856
- https://github.com/expressjs/serve-index/issues/28
- https://github.com/expressjs/serve-index/commit/7381a1d1458959e57ee53ac932b06ff17904777e
- https://web.archive.org/web/20200227190911/http://www.securityfocus.com/bid/96392