AI, Development & Tech News

Security vulnerability in WP Staging: Outsiders could view protected test copies

261129 wp staging test copies login update cover image
Skip to table of contents
Contents 4 sections
  1. What went wrong with the login?
  2. Which version do you need now?
  3. What this means for your test copies
  4. Sources

Visitors without an account could view site copies that the WordPress plugin WP Staging is actually supposed to protect with a login form. Affected are the free version up to 4.17.0 and the paid Pro version up to 6.17.0. Wordfence, a WordPress security provider, rates the severity at 7.5 out of 10 points, meaning high.

With the plugin, which according to WordPress.org runs on more than 100,000 websites, you clone your site to safely try out updates or a new design. Version 4.18.0 from October 18 and Pro 6.18.0 close the security hole. At the time, the changelog for version 4.18.0 contained only a general note about improved security, along with the urgent request to install the update.

What went wrong with the login?

An appended parameter named rest_route without a value bypassed the login. The plugin took the request for a program's call to the REST interface, while WordPress itself delivered the page as normal. The problem affected copies with the login form enabled, which is the default for freshly cloned sites.

In this way, unpublished content, pages from page builders, WooCommerce pages and search results could be read from the copy's database. According to the security overview from WP Staging, attackers could not change anything. We checked the source code of version 4.18.0: There, an empty value no longer counts as a REST request.

Which version do you need now?

It's best to go straight to version 4.23.0 from November 26, or 6.23.0 for Pro, but at least 4.22.0 or 6.22.0. The reason is two further security holes that the vendor only closed on November 20 and for which no CVE number had yet been assigned as of November 26:

  • Requests to the REST interface passed through on a protected copy without login and revealed, for example, posts, pages and the user list.
  • After a copy was deleted, its folder along with the WordPress installer could remain behind. If the folder was reachable, outsiders could start the installer, make themselves administrator of the copy and execute code on the server. However, most hosts prevent such a folder from remaining reachable.

According to the version statistics from WordPress.org, as of November 29 only about a quarter of installations of the free version run on 4.22 or 4.23. The US agency CISA did not list the login vulnerability in its catalog of exploited security holes as of November 27.

What this means for your test copies

It's best to update WP Staging first on the live website and then in the backend of each individual test copy. Each copy brings its own plugin files, and the login form in front of it comes from exactly those files. How to keep themes and plugins up to date is shown in a lesson from the WordPress course for beginners.

How to secure your test copies
Four steps for websites with the WP Staging plugin, as of November 29, 2026
  1. Live websiteUpdate WP Staging to 4.23.0, or to 6.23.0 for Pro
  2. Every test copyalso update the plugin in the backend of the copy
  3. Test the loginfrom outside, call it with ?rest_route=, the form must appear
  4. Old copiesdelete those not needed and check the folders of deleted copies
Source: WP Staging

Afterwards, test each protected copy without logging in and from outside your network, for example via the mobile network, by appending ?rest_route= to its address. The login form must appear in response. Turning off the form fixes nothing, because then the copy is open to the entire internet.

After the update, it's best to delete copies you no longer need directly in WP Staging. Also check previously deleted copies if version 4.21.0, or 6.21.0 for Pro, or an older one was running when they were deleted. Call the file wp-admin/install.php under each former folder path. A 404 error or the message "Access denied" should appear there. If the installer appears instead, remove the folder and ask your host why it was still reachable.

For the update to WordPress 7.2, it's best to create new test copies only after the plugin update. The further steps are in our checklist with backup and test copy.

Wordfence made the security hole public on November 25, 2026, and the CVE entry followed on November 26.

Sources

Comments

Register and comment.

Continue reading

You might also like

View all articles →