Okta Interview Question

What is Cross-Site Scripting and how to prevent it.