Web Security · Middle · Question 10 of 75

What do Trusted Types add on top of normal XSS defenses?

Explanation

Enabled with require-trusted-types-for 'script' in CSP, they turn DOM XSS into a type error and force all HTML through a few reviewed places.

Further reading

Problem with a question

Web Security · Middle · question 10

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