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.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2018-3717 - Medium Severity Vulnerability
Vulnerable Library - connect-2.6.2.tgz
High performance middleware framework
Library home page: https://registry.npmjs.org/connect/-/connect-2.6.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/connect/package.json
Dependency Hierarchy: - express-3.0.1.tgz (Root Library) - :x: **connect-2.6.2.tgz** (Vulnerable Library)
Found in HEAD commit: cd16b8484759f364d6aaa2da98f5d5a7370115e0
Found in base branch: main
Vulnerability Details
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.
Publish Date: 2018-06-07
URL: CVE-2018-3717
CVSS 3 Score Details (5.4)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2018-3717
Release Date: 2018-06-07
Fix Resolution (connect): 2.14.0
Direct dependency fix Resolution (express): 3.5.0