Affected versions
npmconnect
- Affected versions
- < 2.14.0
- Fixed version
- 2.14.0
Exploitation
Description
connect node module before 2.14.0 suffers from a Cross-Site Scripting (XSS) vulnerability due to a lack of validation of file in directory.js middleware.
Links
- https://github.com/JacksonTian/anywhere/issues/33#issuecomment-366527448
- https://github.com/advisories/GHSA-rch9-xh7r-mqgw
- https://github.com/senchalabs/connect/commit/6d5dd30075d2bc4ee97afdbbe3d9d98d8d52d74b
- https://hackerone.com/reports/309394
- https://hackerone.com/reports/309641
- https://nvd.nist.gov/vuln/detail/CVE-2018-3717
- https://www.npmjs.com/advisories/584
- https://www.npmjs.com/advisories/595
Credits
- nitaiapiiro

