Web Security · Middle · Question 31 of 75

Why is reflecting any request Origin back in Access-Control-Allow-Origin with credentials dangerous?

Explanation

It's the same as allowing every origin with credentials. Compare against an exact allowlist instead.

Further reading

Problem with a question

Web Security · Middle · question 31

Test yourself

Take the Web Security · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz