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-2022-0198 Vulnerability in maven package edu.stanford.nlp:stanford-corenlp
CVE-2022-36437 Vulnerability in maven package com.hazelcast:hazelcast
CVE-2023-26486 Vulnerability in maven package org.webjars.npm:vega-functions
CVE-2020-13959 Vulnerability in maven package org.apache.velocity.tools:velocity-tools-view
CVE-2010-3863 Vulnerability in maven package org.apache.shiro:shiro-web