What is Open Redirect? An open redirect is a security flaw in an application or a web page that causes…