Web firewall and virtual patches: how we protect your site from vulnerabilities
When a new vulnerability is disclosed in a WordPress plugin or theme, mass attacks often start within a few hours. Waiting only for the official update is no longer enough: sometimes the vendor patch arrives late, sometimes it never arrives at all.
That is why, on the sites we manage, we use a WAF (Web Application Firewall) with virtual patches: protection rules that block exploits before you update plugins and themes, without changing the site's code.
What a virtual patch is
A "classic" patch is the plugin update: the vendor fixes the vulnerable code and you (or we) install the new version.
A virtual patch is different: it does not modify the plugin files. It adds a firewall rule that recognizes and blocks malicious requests aimed at the vulnerable function. The site stays protected while you review and apply the official update safely.
In short
The virtual patch helps us buy time. The plugin update remains the definitive fix.
Why it matters (beyond a "generic" firewall)
Many attacks do not look like suspicious traffic: they look like normal requests to forms, checkout, uploads, or plugin endpoints.
That is why:
- hosting security mainly protects the server and infrastructure, not the logic of individual plugins;
- a generic WAF (Cloudflare, host firewall, etc.) is useful against bots, brute force, and bad IPs, but it can miss a plugin-specific exploit;
- rules based only on the public advisory often cover one attack path, while attackers try others.
The virtual patches we use are built from the actual vulnerable plugin code (not only from the advisory text), and tested against real WordPress traffic: forms, login, checkout, uploads, APIs, admin area.
The goal is to block exploits without impacting legitimate traffic.
How it works on your WP-OK site
On a site managed by WP-OK, protection is automatic. In practice:
- Detection - when a vulnerability is published, the system compares installed plugins and themes (and their versions) and flags exposed sites.
- Virtual patch - a specific rule is built, tested, then applied to the site. On average, protection arrives within a few hours of disclosure, often before mass exploitation.
- Safe updates - the rule keeps the site protected while we update (or schedule the update) the right way, avoiding rushed changes that could break checkout, forms, or private areas.
In addition, our service includes malware scans - automatic checks (off your server, with no load on the site) to detect malware or suspicious behavior.
What this means for you
- You do not need to configure rules - protection starts automatically on subscribed sites.
- It does not slow the site down - scans and most of the work run on the provider's infrastructure, not on your hosting CPU. The virtual patching layer impact is in the order of milliseconds.
- It does not replace updates - it reduces the exposure window. When an official update exists, it should be applied: that is the permanent fix.
- It works with your other tools - it can coexist with Cloudflare, the host firewall, or other security plugins. It is a WordPress-specific vulnerability layer, not a replacement for the whole perimeter.
FAQ
Can virtual patches "break" the site?
Every rule is tested against legitimate behavior (checkout, forms, login, uploads, admin, APIs). If a rule risks blocking real traffic, it is revised before release. When an attack cannot be safely distinguished from normal traffic, protection is marked as partial: no fake "green light" - you know what is covered and what still needs the official update.
What if the plugin vendor never releases a fix?
It happens more often than you might think: some disclosed vulnerabilities have no patch at publication time, and some never get one. In those cases, the virtual patch keeps protecting the site for as long as needed.
Should I remove Cloudflare / the host firewall?
No. They are different layers. Hosting and Cloudflare mainly protect infrastructure and generic traffic; virtual patches target WordPress plugin/theme exploits.
Do I need to do anything?
No, on sites managed by WP-OK. If you get a notice about a critical vulnerability or a delicate update, our team assesses priority and break risk. For questions or reports, open a ticket from the Client Area.
Note
This protection is included in WP-OK management for subscribed sites and is based on MalCare technology.