xss (cross-site scripting) is one of the most common types of web application security vulnerabilities.…