CVE-2021-22963
publishedfastify-static: open redirect via an URL with double slash followed by a domain
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | https://github.com/fastify/fastify-staticAffects < v4.2.4. Fixed in >= v4.2.4 | Affected | Not stated | hackerone |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | https://github.com/fastify/fastify-static | Affects < v4.2.4. Fixed in >= v4.2.4 (affected) | hackerone · cna |
Weaknesses
1- CWE-601 Open Redirect (CWE-601)
References
1Provider assertions
2hackerone · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b2303fc2bb6cf1a93b465ae3a37a39b333980661b3627274fd98ebdff11de634
- Ingested
- 23 Sep 2026, 07:52:52 UTC
- Source record
- Official CVE record