Understanding XSS attacks, how they work, and how to protect your web applications from these common security vulnerabilities