{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-22963","id":"CVE-2021-22963","title":"URL Redirection to Untrusted Site ('Open Redirect') in fastify-static","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.","descriptionLong":"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":"2021-10-14T14:50:11.000Z","updated":"2026-10-24T10:30:35.176880683Z","reserved":"2021-01-06T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["https://github.com/fastify/fastify-static"],"affectedProducts":[{"vendor":"n/a","product":"https://github.com/fastify/fastify-static","defaultStatus":null,"versions":[{"status":"affected","version":"Affects < v4.2.4. Fixed in >= v4.2.4"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"fastify-static","purl":"pkg:npm/fastify-static","ranges":["<4.2.4"],"fixed":["4.2.4"],"advisory":"GHSA-p6vg-p826-qp3v"}],"cwes":["CWE-601"],"aliases":["GHSA-p6vg-p826-qp3v"],"references":[{"url":"https://hackerone.com/reports/1354255","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/fastify/fastify-static/security/advisories/GHSA-p6vg-p826-qp3v","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22963","tags":["advisory"]},{"url":"https://github.com/fastify/fastify-static","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01169,"epssPercentile":0.68167,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-22963","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22963","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-22963","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p6vg-p826-qp3v","ok":true,"note":"GHSA-p6vg-p826-qp3v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-22963","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}