Medium severity · published Oct 14, 2021
CVE-2021-22963
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:…
6.1
CVSS
1.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 67% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FA
Fastify-static · Fastify
before 4.2.4 · source: NVD
Affected product
FA
Fastify-static
Fastify
More from Fastify-static
8.8
CVE-2021-22964
A redirect vulnerability in the `fastify-static` module version >= 4.2.4 and < 4.4.1 allows remote attackers to redirect Mozilla Firefox users to arbitrary websites via a double…
7.5
CVE-2026-18427
@fastify/static vulnerable to route guard bypass via non-canonical path segments
7.5
CVE-2026-15074
@fastify/static vulnerable to route guard bypass via path traversal
5.9
CVE-2026-6414
@fastify/static vulnerable to route guard bypass via encoded path separators
5.3
CVE-2026-7120
@fastify/static vulnerable to Authorization Bypass via Non-Canonical URL Paths