Browser & Web Performance · Senior · Question 45 of 75

Why are host-allowlist CSPs like script-src 'self' https://cdn.example.com often bypassable?

Explanation

Research found most allowlist-based policies could be bypassed. Nonce or hash-based strict CSP avoids this.

Further reading

Problem with a question

Browser & Web Performance · Senior · question 45

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