A web application that echoes unsanitized user input into its pages lets an attacker run script in other users' browser…