CVE-2025-21620: fetch: Authorization headers not dropped when redirecting cross-origin
(updated )
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.
References
Detect and mitigate CVE-2025-21620 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →