Web Security · Senior · Question 27 of 75

What attributes should an iframe that shows untrusted user HTML have?

Explanation

allow-scripts together with allow-same-origin on the same origin lets the framed code remove its own sandbox.

Further reading

Problem with a question

Web Security · Senior · question 27

Test yourself

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

Take this quiz