Open
Description
What is the issue with the Fetch Standard?
RFC 9421 defines the Signature
header field. One of its use cases is signing requests, effectively acting as a credential.
Because Fetch automatically follows redirects and copies headers from the original request into the redirect request, this means that a signature will be sent cross-origin, exposing its contents to a third party server.
One use case we have for this is authenticating bots (like web crawlers) to sites. If a site can be configured to redirect to another one, this would allow the third party site to impersonate the bot to the original target site.
Adding Signature
to CORS non-wildcard request-header name
would mitigate this.
/cc @jricher