Cross-site scripting (XSS) is a client-side code injection cyber-attack that exploits web security vulnerabilities. It holds a decade's old history…