# What Is Virtual Patching? How It Protects WordPress Before an Update Exists

> Virtual patching blocks attacks on a known WordPress plugin or theme vulnerability before you can update. See the gap it covers, how it works, and its limits.

**Virtual patching** blocks attacks on a known vulnerability in a WordPress plugin, theme or core with a targeted security rule, without changing the vulnerable code. It protects your site in the gap between a vulnerability being disclosed and you installing the official fix, including the days when no fix exists yet. You still update; virtual patching covers the time in between.

Here is the uncomfortable part of running WordPress. A vulnerability in a plugin you use becomes public on a Tuesday morning. The plugin's author has not released a fix. Your client wants every update tested on staging first. Attackers, meanwhile, have the same advisory you do.

If you only want the one-line definition, our [**glossary entry on virtual patching**](/glossary/virtual-patching/) has it. This guide goes further: where WordPress sites get attacked in the update gap, how a virtual patch works on a single request, how it compares with a firewall and with updating, and how to see which of your sites are in that gap today.

![The gap between disclosure and your update: found, disclosed, official fix, you update, with the virtual patch covering disclosure to update](/_landing/blog/what-is-virtual-patching-image-1.png)

## TL;DR: Virtual Patching in Six Lines

Short on time? Here is the whole guide in a few lines:

- **A virtual patch is a rule, not a code change.** It recognizes the exact requests that exploit one known vulnerability and blocks them before they reach the plugin.
- **It covers the update gap.** That is the time between disclosure and your update, plus any time when no official fix exists at all.
- **The gap is common.** Patchstack's 2026 report says 46% of WordPress vulnerabilities found in 2025 had no fix from the developer by the time they were disclosed.
- **It is not a general firewall.** A firewall blocks common attack patterns; a virtual patch targets one vulnerability in one plugin or theme.
- **It does not replace updating.** The official fix is still what removes the vulnerability.
- **On xCloud** it is part of **Site Security Pro, powered by Patchstack**, turned on per WordPress site from **Security → Patchstack**.

## The Finding: Almost Half of the Gap Has No Fix to Install

Most advice about plugin vulnerabilities says "keep everything updated". That advice assumes an update exists. Often it does not.

According to [**Patchstack's State of WordPress Security in 2026**](https://patchstack.com/whitepaper/state-of-wordpress-security-in-2026/) (updated 25 February 2026), 11,334 new vulnerabilities were found in the WordPress ecosystem in 2025. 91% were in plugins and 9% in themes, with only 6 in WordPress core. And **46% did not receive a fix from the developer in time for public disclosure**.

The same report puts the weighted median time to first exploit for heavily exploited vulnerabilities at **5 hours**. Put those two numbers next to each other and the problem is clear: for many vulnerabilities, attackers move within hours, and there is nothing to update to.

You can see this gap for your own sites in xCloud. In the **Security Center**, open **Sites → By plugin**. Each vulnerable plugin, theme or core version gets one of three statuses:

| Status in Security Center | What it means | What to do |
|---|---|---|
| **Update available** | A fixed version exists | Click **Update now** to open the Updates Manager, which can back each site up first |
| **No fix yet** | No fixed version exists | Deactivate the plugin if you can, or protect the sites with Site Security Pro until a fix ships |
| **Handled automatically** | **Auto Update** is on for every affected site | It updates within 24 hours |

**No fix yet** is exactly the gap virtual patching was built for. The full walkthrough is in [**how to find and fix security issues in the Security Center**](/docs/find-and-fix-security-issues-with-xcloud-security-center/) (paid plans).

## The Gap Between Disclosure and Your Update

Every plugin vulnerability goes through the same four steps. The risk sits between the second and the fourth.

### 1. Found

A security researcher, or sometimes an attacker, finds a vulnerability in a plugin or theme. If a researcher finds it, they usually report it to the author privately first.

### 2. Disclosed

The vulnerability becomes public through an advisory, a CVE record or a public exploit. From this moment, anyone can read which plugin and which versions are affected. Attackers start looking for sites that run them.

### 3. Official fix

The author releases a fixed version. Sometimes this happens before disclosure, sometimes days later, and sometimes never, for example when the author has stopped maintaining the plugin.

### 4. You update

Even once the fix is out, your site is not protected until it is installed. Updates wait for staging tests, a client's sign-off, a licence renewal on a premium plugin, or simply a busy week.

**The catch worth knowing:** steps 3 and 4 are where most security advice focuses, but the attacks happen from step 2. That is the window a virtual patch closes.

## How a Virtual Patch Works

Think of a vulnerable plugin as a shop with one broken back door. Updating the plugin replaces the door. A virtual patch puts a guard in front of that one door who knows exactly what a break-in attempt looks like, and lets everyone else walk past.

In practice, when a vulnerability is disclosed, a security team studies how it is exploited: which URL or action it uses, which parameter carries the attack and what the malicious value looks like. They write a rule that matches that pattern for the affected plugin versions. The rule runs before the request reaches the plugin.

The [**OWASP Virtual Patching Cheat Sheet**](https://cheatsheetseries.owasp.org/cheatsheets/Virtual_Patching_Cheat_Sheet.html) defines it as "a security policy enforcement layer that detects and blocks matching exploitation attempts against a known vulnerability without changing the vulnerable code." It also says plainly that it "does not remove the underlying vulnerability".

### An example with a made-up plugin

Say your site runs an invented plugin, **Example Forms 2.3**. An advisory says versions 2.3 and below let anyone upload a PHP file through the plugin's upload action, and no fixed version exists yet.

![How a virtual patch handles two requests: an attack upload of a PHP file is blocked, a normal PDF upload passes to the plugin](/_landing/blog/what-is-virtual-patching-image-2.png)

- **An attack request** sends `shell.php` to the upload action. The virtual patch matches it and blocks it. The plugin never sees it, and the attempt is logged.
- **A normal request**, a visitor sending a PDF through the contact form, does not match the rule. It passes to the plugin, and the form works as usual.
- **No plugin file changed.** When Example Forms 2.4 ships with the official fix, you test it and update as normal.

Because the rule is written for one known vulnerability, it can be precise. That precision is what keeps false alarms low compared with broad rules that try to guess what an attack looks like.

## Virtual Patching vs a Firewall vs Updating

These three are often mixed up. They are layers that work together, not alternatives.

| | **Virtual patching** | **General firewall (WAF)** | **Updating the plugin** |
|---|---|---|---|
| **What it does** | Blocks the known attack on one vulnerability | Blocks common attack patterns on any site | Replaces the vulnerable code |
| **Removes the vulnerability?** | No | No | Yes |
| **Works before a fix exists?** | Yes, once a rule exists for that vulnerability | Only if the attack happens to match a general pattern | No |
| **Knows which plugin version you run?** | Yes, rules target affected versions | No | Yes |
| **Risk of breaking the site** | Low: it only acts on matching requests | Low to medium: broad rules can block real visitors | Medium: an update can change how the site behaves |
| **Your work** | Turn it on once per site | Turn on and tune rules | Test and install each update |
| **On xCloud** | Site Security Pro, powered by Patchstack | Built-in firewall (Nginx / OpenLiteSpeed), plus Cloudflare WAF with the Cloudflare Enterprise add-on | Updates Manager, Auto Update |

If you only remember one line: **a firewall guards every door the same way; a virtual patch guards the one door that is known to be broken.**

Patchstack's 2026 report gives a sense of why the difference matters. In its tests, "traditional defences only blocked 12% of WordPress-specific vulnerability attacks". That is a vendor's own test, so read it as a direction rather than a promise, but it matches how a general firewall works: it cannot know that one plugin's harmless-looking request is dangerous. Our [**web application firewall glossary entry**](/glossary/waf/) explains what a general firewall does cover.

## When You Need Virtual Patching Most

Every WordPress site benefits, but some situations turn the update gap from a few hours into weeks.

### Plugins that update slowly, or not at all

Some authors take days to ship a fix. Others have stopped releasing updates altogether. A virtual patch blocks the known attack while you wait or plan a replacement. If a plugin will never get a fix, replace it when you can.

### Agencies that test every update

Agencies often run updates on staging, check the site, then wait for the client. That is good practice, and it can add days. Virtual patching lets you keep that process without leaving client sites exposed in the meantime.

### WooCommerce stores and busy sites

A store owner may not want to update a payment or checkout plugin in the middle of a sale. A virtual patch buys you time to update in a quiet hour.

### Premium plugins with a lapsed licence

Without a valid licence, many premium plugins send no update package at all. Our post on [**premium plugin updates and safer WordPress updates on xCloud**](/pro-plugin-updates-and-safer-wordpress-updates-on-xcloud/) shows how xCloud flags these.

A common question our support team gets is whether Site Security Pro can protect a site before the official update is out, or before the customer has installed it. That is the job it is built for, on top of updating, not instead of it.

## Turn On Virtual Patching in xCloud (First 30 Days Free)

On xCloud, virtual patching comes with [**Site Security Pro, powered by Patchstack**](/site-security-pro/). It is set up per WordPress site from your dashboard, and the Patchstack plugin is installed for you.

![Security, Patchstack page in xCloud with the Activate Site Security Pro button, listing what the Vulnerability Scan includes and what Site Security Pro adds](/_landing/blog/what-is-virtual-patching-image-3.png)

1. Log in to xCloud and open the WordPress site you want to protect.
2. In the left sidebar, click **Security → Patchstack**. Until it is active, the item carries a **Pro** badge.
3. Click **Activate Site Security Pro**, choose **Monthly** or **Yearly** if both are offered, and click **Pay now**. The window shows the amount and the renewal date before you pay.
4. Wait a few minutes while **Activating Site Security Pro…** shows. The page updates by itself when it is ready.
5. Open the **Dashboard** tab to see vulnerabilities, how many are resolved and how many threats were blocked. Open **Hardening** to set a **Basic**, **Recommended** or **Strict** baseline.

👉 The full walkthrough, with CAPTCHA and IP rules, is in [**how to set up Site Security Pro**](/docs/set-up-site-security-pro/).

To protect many sites at once, open the **Security Center**, go to **Sites → By site** and click **Protect this site** or **Protect 2 sites** (the number the banner shows) on the banner for sites without Site Security Pro. For new sites, turn it on from the **Security** row while you create the site, as shown in [**turn on security when you create a WordPress site**](/docs/turn-on-security-when-creating-a-wordpress-site/).

**Price, as of November 2026:** while the current offer runs, the first 30 days are free on every WordPress site you protect, as many sites as you like, then **$2 per site per month**. The offer shows to team members who can buy add-ons. The site's team needs a paid xCloud plan, which also includes the daily [**Vulnerability Scan**](/docs/vulnerability-checker-in-xcloud/) that finds the vulnerabilities in the first place. See [**xCloud pricing**](/pricing/) for plans.

**Start your 30 days free from Security → Patchstack on any WordPress site.**

## What Virtual Patching Does Not Do (and How to Undo It)

Being honest about the limits is part of using it well.

- **It does not remove the vulnerability.** The vulnerable code stays on your site until you install the official fix. Keep using the [**Updates Manager**](/features/wordpress-management/) or Auto Update.
- **It only covers known vulnerabilities with a rule.** A vulnerability nobody has reported yet has no virtual patch. Patchstack adds rules as vulnerabilities are disclosed, so coverage depends on its research.
- **It does not clean a hacked site.** If attackers already got in, follow our guide on [**what to do when your WordPress site is hacked**](/wordpress-site-hacked-what-to-do/) first, and the xCloud steps in [**my WordPress site was hacked: what to do on xCloud**](/docs/my-wordpress-site-was-hacked-what-to-do-on-xcloud/).
- **It is for WordPress only.** Custom PHP, Laravel and Node.js sites don't appear in the Site Security Pro site list.
- **Multisite needs a check first.** Contact support before adding it to a WordPress Multisite network.

**To pause it**, click **Deactivate** on **Security → Patchstack** in xCloud, and **Activate** when you want it back. Don't deactivate the Patchstack plugin in wp-admin: the plugin is the connection, and the firewall stops without it. **To stop paying**, click **Remove** under **Settings → Servers & Add-ons → Add-ons** before the renewal date.

For how virtual patching fits next to server hardening and edge protection, read [**why traditional security is not enough for WordPress**](/traditional-security-not-enough-protect-your-wordpress-sites/) and [**how xCloud keeps your WordPress sites safe**](/how-xcloud-keeps-your-wordpress-sites-safe/). xCloud's own record of server-level fixes is on the [**zero-day security page**](/zero-day-security/).

## Close Your Update Gap This Week

Updating will always be the official fix. The problem is the hours and days before you can update, and the 46% of cases where there was no fix to install when the vulnerability went public.

This week, open the **Security Center** and look for any **No fix yet** rows. For each affected site, either deactivate the plugin or turn on Site Security Pro, then keep updating as fixes ship. That single habit covers the window attackers rely on most.

If you have found this blog helpful, feel free to [**subscribe to our blogs**](https://xcloud.host/blog/) for valuable tutorials, guides, knowledge, and tips on web hosting and server management. You can also join our [**Facebook community**](https://www.facebook.com/groups/xcloud.community) to share insights and engage in discussions.

## Frequently Asked Questions

### Is virtual patching the same as updating a plugin?

No. An update changes the plugin's code and removes the vulnerability. A virtual patch leaves the code as it is and blocks the known attack on it. Install the official fix as soon as you have tested it.

### Can virtual patching protect a plugin that never gets an update?

It can block the known attack on it while a rule exists for that vulnerability. It is still safer to replace a plugin whose author has stopped releasing fixes, because new vulnerabilities in it will never get an official fix.

### Does a general firewall already do virtual patching?

Only in part. A general firewall blocks common attack patterns, and some include rules for well-known vulnerabilities. A virtual patch is written for one known vulnerability in one plugin or theme, so it can stop requests that look normal to a general rule.

### Will virtual patching slow down my WordPress site?

It adds a check to each request, like any firewall. A virtual patch only acts on requests that match a known attack, so normal visitors pass through it.

### How do I turn on virtual patching on xCloud?

Open the WordPress site, go to Security → Patchstack and click Activate Site Security Pro. The site's team needs a paid xCloud plan. As of November 2026, while the offer runs, the first 30 days are free, then $2 per site per month.
