CVE-2025-21620Sensitive Information Exposure in Deno

Severity
7.5HIGHNVD
EPSS
0.2%
top 58.71%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJan 6

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

crates.iodeno/deno2.0.02.1.2+1
CVEListV5denoland/deno< 2.1.2

🔴Vulnerability Details

2
OSV
fetch: Authorization headers not dropped when redirecting cross-origin2025-01-06
GHSA
fetch: Authorization headers not dropped when redirecting cross-origin2025-01-06