Add Signature
to CORS non-wildcard request-header name
#1819
Labels
security/privacy
There are security or privacy implications
security-tracker
Group bringing to attention of security, or tracked by the security Group but not needing response.
topic: cors
topic: http
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
toCORS non-wildcard request-header name
would mitigate this./cc @jricher
The text was updated successfully, but these errors were encountered: