XSS (Cross Site Scripting) allows code to injected in a website. This code can give a malicious person access to your data and secure information. Getting updates, using firewalls and analyzing applications that produce webpages helps to prevent Cross Site Scripting.