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`.
Severity (CVSS)
| Base score | 7.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-287 — CWE-287 Improper Authentication
Affected products
| Vendor | Product | Versions |
|---|---|---|
| renehermi | WP STAGING – Backups & Restore, Migration & Clone Plugin – Cloud Backups, Scheduled Backups | 0 to <=4.17.0 [affected] |
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
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 27 Nov 2026 08:01 UTC.