{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-3717","id":"CVE-2018-3717","title":"Cross-Site Scripting in connect","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.","descriptionLong":"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.","published":"2018-06-07T02:00:00.000Z","updated":"2026-10-20T10:48:10.104890071Z","reserved":"2017-12-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["HackerOne connect node module"],"affectedProducts":[{"vendor":"HackerOne","product":"connect node module","defaultStatus":null,"versions":[{"status":"affected","version":"Versions before 2.14.0"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"connect","purl":"pkg:npm/connect","ranges":["<2.14.0"],"fixed":["2.14.0"],"advisory":"GHSA-rch9-xh7r-mqgw"}],"cwes":["CWE-79"],"aliases":["GHSA-rch9-xh7r-mqgw"],"references":[{"url":"https://github.com/senchalabs/connect/commit/6d5dd30075d2bc4ee97afdbbe3d9d98d8d52d74b","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://hackerone.com/reports/309641","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://hackerone.com/reports/309394","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3717","tags":["advisory"]},{"url":"https://github.com/JacksonTian/anywhere/issues/33#issuecomment-366527448","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rch9-xh7r-mqgw","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/584","tags":["web"]},{"url":"https://www.npmjs.com/advisories/595","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01297,"epssPercentile":0.70971,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-3717","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3717","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-3717","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rch9-xh7r-mqgw","ok":true,"note":"GHSA-rch9-xh7r-mqgw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-3717","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}