Browser & Web Performance · Senior · Question 40 of 75
Why is allowing Origin: null in CORS risky?
- ✓Correct answer: Sandboxed iframes,
file:pages and some redirects sendnull, so an attacker can easily produce it - 2Browsers never send
Origin: null - 3
nullorigins are only used by search engines
Explanation
Whitelisting null with credentials effectively allows any attacker page using a sandboxed iframe.