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-21122 Vulnerability in npm package metacalc
CVE-2020-26870 Vulnerability in maven package org.webjars.bower:dompurify
CVE-2020-11619 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2023-36542 Vulnerability in maven package org.apache.nifi:nifi-cdc-mysql-processors