CVE-2026-109586
WP STAGING – WordPress Backups, Restore, Migration & Clone に報告された脆弱性
概要
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`.
影響を受けるバージョン
- 0以上 〜 4.17.0以下
対処方法
WP STAGING – WordPress Backups, Restore, Migration & Clone を 4.18.0 以降に更新してください。これで本脆弱性は解消します。
WP STAGING – WordPress Backups, Restore, Migration & Clone の他の脆弱性を見る →
あなたのサイトは大丈夫ですか?
URLを入力するだけで、実際に使われているプラグインを検出し、 このデータベースと突き合わせて既知の脆弱性が残っていないかを確認できます。登録不要・無料です。
30秒で無料診断する参照
- https://plugins.trac.wordpress.org/browser/wp-staging/tags/4.17.0/Framework/Rest/Rest.php#L42
- 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/Frontend/Frontend.php#L214
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3753692%40wp-staging&new=3753692%40wp-staging
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9c84a5cc-fefa-4e2a-b403-cc4a2db7f8e7?source=cve