CVE-2025-21620
HIGH 7.5CVSS 3.1fetch: Authorization headers not dropped when redirecting cross-origin
Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. When you send a request with the Authorization header to one domain, and the response asks to redirect to a different domain, Deno'sfetch() redirect handling creates a follow-up redirect request that keeps the original Authorization header, leaking its content to that second domain. This vulnerability is fixed in 2.1.2.
- Published
- 6 Jan 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-200
- Also known as
- GHSA-f27p-cmv8-xhm6
- Sources
- NVDJSONOSV GHSA-f27p-cmv8-xhm6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | deno_fetch | >= 0.0.1, < 0.204.0 | 0.204.0 |
| OSV | crates.io | deno | <= 1.46.3 | |
| OSV | crates.io | deno | >= 2.0.0, < 2.1.2 | 2.1.2 |
References
- https://github.com/denoland/deno/security/advisories/GHSA-f27p-cmv8-xhm6 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-21620 · ADVISORY
- https://github.com/denoland/deno · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 6 Jan 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jan 2025)