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.
Remediation
References
https://github.com/senchalabs/connect/commit/6d5dd30075d2bc4ee97afdbbe3d9d98d8d52d74b
https://hackerone.com/reports/309394
https://hackerone.com/reports/309641
Related Vulnerabilities
CVE-2022-22984 Vulnerability in npm package @snyk/snyk-hex-plugin
CVE-2011-2088 Vulnerability in maven package org.apache.struts.xwork:xwork-core
CVE-2018-14042 Vulnerability in maven package org.webjars.npm:bootstrap
CVE-2022-37265 Vulnerability in npm package steal
CVE-2023-46660 Vulnerability in maven package org.jenkins-ci.plugins:zanata