← Back to release summary

CORS non-wildcard request-header

Category
Security
Type
No developer-visible change
Status
In development (Chrome In development)
Intent stage
Prepare to ship

WPT details: We have tests in /fetch/api/cors/cors-preflight.any.js.

Summary

A CORS non-wildcard request header[1] is an HTTP request header which is not covered by the wildcard symbol ("*") in the access-control-allow-headers header. "authorization" is the only member of CORS non-wildcard request-header. Currently we treat the header as a usual header, which is problematic for security reasons. Implement it, and change the current behavior. 1: https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name

Motivation

To improve security. With the current behavior, a malicious web site can use stolen/guessed authentication data easily.

Standards & signals

Ecosystem

View on chromestatus.com