Never allow the null origin in CORS on Apache
Why it matters
Any website can send requests with Origin null from a sandboxed frame, so allowing null with credentials lets every site read responses with your visitors' cookies. Remove null from the allowed origins.
The fix
- Remove null from the SetEnvIf or RewriteCond pattern that allows origins, or switch to an exact allow-list of https origins, and reload.
Related
Scan your domain to see whether this applies to you.