The issue arises from an incorrect regular expression used in the `string sanitize url` function, allowing remote attackers to conduct open redirect and phishing attacks. This can be achieved by providing a URL with a `:/` (colon slash) separator in the `return` parameter to `login page.php`.