Angular · Senior · Question 59 of 75

What does Angular's Trusted Types support help with?

Explanation

With a require-trusted-types-for 'script' CSP, raw string assignments to sinks fail, so any XSS bypass in custom code becomes visible.

Further reading

Problem with a question

Angular · Senior · question 59

Test yourself

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

Take this quiz