CVE-2021-22963
MEDIUM 6.1CVSS 3.1URL Redirection to Untrusted Site ('Open Redirect') in fastify-static
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.
- Published
- 14 Oct 2021
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-601
- Also known as
- GHSA-p6vg-p826-qp3v
- Sources
- NVDJSONOSV GHSA-p6vg-p826-qp3vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fastify | fastify-staticcpe:2.3:a:fastify:fastify-static:*:*:*:*:*:*:*:* |
< 4.2.4 | 4.2.4 |
| OSV | npm | fastify-static | < 4.2.4 | 4.2.4 |
References
- https://hackerone.com/reports/1354255 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/fastify/fastify-static/security/advisories/GHSA-p6vg-p826-qp3v · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-22963 · ADVISORY
- https://github.com/fastify/fastify-static · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 14 Oct 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Oct 2021)