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-2022-21192 Vulnerability in npm package serve-lite
CVE-2017-16219 Vulnerability in npm package yttivy
CVE-2023-45133 Vulnerability in maven package org.webjars.npm:babel__traverse
CVE-2020-28453 Vulnerability in npm package npos-tesseract
CVE-2022-31172 Vulnerability in npm package @openzeppelin/contracts-upgradeable