Previously we saw how some cross-site scripting (XSS) vulnerabilities allow attackers to store malicious JavaScript in your database, which will be executed when other users view your site.