CVE-2025-21620CWE-200

Deno's authorization headers not dropped when redirecting cross-origin

High · published January 6, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
43.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00522 · 43.4th percentile
Weakness
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
Published
2025-01-06T22:26Z
EPSS history
Timeline
  • 06 JAN 22:26Z
    Deno's authorization headers not dropped when redirecting cross-origin
    cvelistv5