Skip to main content
← All vulnerabilities
CVE-2025-21620GHSA-F27P-CMV8-XHM6

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.2, 0.204.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • denoland deno

    fixed in 2.1.2

  • deno_fetchcrates.io

    From 0.0.1 · fixed in 0.204.0

  • denocrates.io

    through 1.46.3

  • denocrates.io

    From 2.0.0 · fixed in 2.1.2

References 1

GitHub · denoland/deno