Browser & Web Performance · Senior · Question 70 of 75

What does a service worker mean for XSS impact?

Explanation

Restrict the SW script path, avoid registering workers from user-controlled URLs and keep Clear-Site-Data ready for incident response.

Further reading

Problem with a question

Browser & Web Performance · Senior · question 70

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