5.4med

CVE-2018-3717

Cross-Site Scripting in connect

Also known as GHSA-rch9-xh7r-mqgw

Published 8 y ago · modified 4 mo ago · JSON

CVSS
5.4
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
1.3%
percentile 71%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

1.31% probability of exploitation in the next 30 days, higher than 71% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.15.4CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD2.03.5AV:N/AC:M/Au:S/C:N/I:P/A:N
GitHub3.15.4CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected packages

EcosystemPackageAffectedFixed in
npmconnect
<2.14.0
2.14.0

Affected products

  • HackerOne connect node module

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

  • github.com /senchalabs/connect/commit/6d5dd30075d2bc4ee97afdbbe3d9d98d8d52d74b · x_refsource_MISC, x_transferred
  • hackerone.com /reports/309641 · x_refsource_MISC, x_transferred
  • hackerone.com /reports/309394 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2018-3717 · advisory
  • github.com /JacksonTian/anywhere/issues/33#issuecomment-366527448 · web
  • github.com /advisories/GHSA-rch9-xh7r-mqgw · advisory
  • npmjs.com /advisories/584 · web
  • npmjs.com /advisories/595 · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.