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://hackerone.com/reports/309641
https://hackerone.com/reports/309394
https://github.com/senchalabs/connect/commit/6d5dd30075d2bc4ee97afdbbe3d9d98d8d52d74b
Related Vulnerabilities
CVE-2023-37913 Vulnerability in maven package org.xwiki.platform:xwiki-platform-office-importer
CVE-2021-21391 Vulnerability in npm package @ckeditor/ckeditor5-list
CVE-2023-42795 Vulnerability in maven package org.apache.tomcat:tomcat
CVE-2018-16487 Vulnerability in maven package org.webjars.npm:lodash.merge
CVE-2018-12540 Vulnerability in maven package io.vertx:vertx-web