Description
A redirect vulnerability in the fastify-static module version < 4.2.4 allows remote attackers to redirect users to arbitrary websites via a double slash // followed by a domain: http://localhost:3000//google.com/%2e%2e.The issue shows up on all the fastify-static applications that set redirect: true option. By default, it is false.
Remediation
References
https://hackerone.com/reports/1354255
Related Vulnerabilities
CVE-2021-41086 Vulnerability in npm package jsuites
CVE-2021-33041 Vulnerability in npm package vmd
CVE-2022-1330 Vulnerability in maven package org.webjars.bower:fullpage
CVE-2020-7743 Vulnerability in maven package org.webjars.npm:mathjs
CVE-2023-34238 Vulnerability in npm package gatsby-transformer-remark