Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2025-21620

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

denoland deno

  • < 2.1.2affected

References