WP STAGING <= 4.17.0 - Unauthenticated Authorization Bypass via 'rest_route' Query Parameter
- State
- Published
- Severity
- 7.5 High
- Published
- Nov 26, 2026
- Updated
- Nov 30, 2026
- Reserved
- Oct 12, 2026
Description
The WP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups plugin for WordPress is vulnerable to Authorization Bypass in all versions up to, and including, 4.17.0 via the `REQUEST_URI` query parameter. This is due to a parser-differential flaw in `showLoginForm()`: the plugin's `isRestUrl()` function performs an unanchored `strpos()` prefix match against the full `REQUEST_URI` — including the query string — and short-circuits all authorization checks (including `isStagingSite()` and `current_user_can('manage_options')`) whenever it detects a REST-like URL, while WordPress core only treats a request as a REST API call when the `rest_route` query variable is non-empty. This makes it possible for unauthenticated attackers to bypass the staging-site login gate entirely by appending an empty `rest_route` parameter (e.g. `/wp-json/?rest_route=`), causing the plugin to skip its gate while core proceeds to render the ordinary theme front end, exposing the full theme-rendered contents of the staging site — including private post content, page-builder output, WooCommerce pages, and site search results over the staging database. This bypass only affects staging sites where the login gate is active, which is the default state for any site cloned by the plugin when the `wpstg_is_staging_site` option is set to `true` or the `.wp-staging` marker file is present in `ABSPATH`.
| Product | Versions |
|---|---|
| WP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups renehermi | 4.17.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.5 High | Wordfence |
Weaknesses
- CWE-287 Improper Authentication
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9c84a5cc-fefa-4e2a-b403-cc4a2db7f8e7?source=cve
- https://plugins.trac.wordpress.org/browser/wp-staging/tags/4.17.0/Frontend/Frontend.php#L214
- https://plugins.trac.wordpress.org/browser/wp-staging/tags/4.17.0/Framework/Rest/Rest.php#L59
- https://plugins.trac.wordpress.org/browser/wp-staging/tags/4.17.0/Framework/Rest/Rest.php#L42
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3753692%40wp-staging&new=3753692%40wp-staging
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.