Browser & Web Performance · Senior · Question 40 of 75

Why is allowing Origin: null in CORS risky?

Explanation

Whitelisting null with credentials effectively allows any attacker page using a sandboxed iframe.

Further reading

Problem with a question

Browser & Web Performance · Senior · question 40

Test yourself

Take the Browser & Web Performance · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz