An authorization bypass exists due to a parser-differential flaw in the `showLoginForm()` function. The `isRestUrl()` function uses an unanchored `strpos()` prefix match on the `REQUEST URI` query parameter, which includes the query string. This causes the plugin to skip authorization checks, such as `isStagingSite()` and `current user can('manage options')`, when a REST-like URL is detected. However, WordPress core only recognizes a REST API call if the `rest route` query variable is non-empty. Unauthenticated attackers can bypass the staging-site login gate by appending an empty `rest route` parameter, allowing them to view the full theme-rendered contents of the staging site, including private posts, WooCommerce pages, and site search results. This issue affects staging sites where the login gate is active, specifically when the `wpstg is staging site` option is set to `true` or the `.wp-staging` marker file exists in `ABSPATH`.