WordPress security is the practice of keeping a WordPress site's core, plugins, themes, hosting and user accounts patched and controlled so attackers cannot run code on it. B2B WordPress sites get hacked because plugins carry 91% of disclosed vulnerabilities and attackers exploit new flaws within hours of disclosure.
Patchstack recorded 11,334 new WordPress vulnerabilities in 2025, a 42% increase on 2024, and 46% had no developer fix when they were publicly disclosed (Patchstack, State of WordPress Security in 2026). For an Australian mid-market company whose website captures pipeline, that makes WordPress a recurring operational risk, not a finished build.
This guide covers:
B2B WordPress sites get hacked because they run a large third-party plugin stack that is patched late, administered by too many people and defended by too few controls. Attackers scan for known flaws automatically, so a site is targeted because it is vulnerable, not because of who owns it.
ScaleStation sees the same four conditions behind most B2B WordPress exposure:
Automated scanners do not filter by company size. A $20M B2B firm with a lead-generating website is as findable as any other site running the same vulnerable plugin version.
Plugins are the source of WordPress vulnerabilities. Patchstack's State of WordPress Security in 2026 report found plugins accounted for 91% of 2025 disclosures, themes 9%, and WordPress core only six reported issues, all low priority. Plugin count is therefore the main security lever a B2B team controls.
| Component | Share of 2025 vulnerabilities | What it means for a B2B site |
| Plugins | 91% | Audit every plugin and remove any that is not essential |
| Themes | 9% | Use a maintained theme and delete inactive ones |
| WordPress core | 6 reported, all low priority | Keep current, because core flaws are rare but severe when they land |
Two further figures define the problem. 46% of vulnerabilities had no developer fix at the time of public disclosure, so updating alone cannot protect a site. And 1,966 vulnerabilities (17%) were classed as likely to be used in automated mass-scale attacks, which is the category that reaches B2B sites first.
The practical conclusion is that plugin count is a security metric. Every plugin removed is attack surface that no patch cycle has to cover.
Attackers exploit serious WordPress vulnerabilities within hours of disclosure. Patchstack measured a weighted median of 5 hours to first exploit for heavily exploited vulnerabilities, and about half of high-impact vulnerabilities were exploited within 24 hours. A monthly patch cycle leaves a site exposed for weeks.
CVE-2026-87902 shows the pattern. It is a critical WordPress core remote code execution flaw rated 9.2, affecting versions 4.7.0 through 7.1.1, and patched in 7.1.2, 7.0.6, 6.9.9 and 6.8.10. Probing began at around 17:44 UTC on 22 September 2026, under five hours after WordPress 7.1.2 became available, and escalated from harmless file probes to attempts to write PHP files and deploy web shells (eSecurity Planet). Exploitation needs specific conditions, including an active theme directory beginning with page- and a readable local PHP file on the server, but conditional flaws still compromise the sites that meet them.
On 30 October 2026, The Hacker News reported that a WordPress RCE flaw drew nearly 63,000 attack attempts in 24 hours (The Hacker News). WordPress 7.1 was released on 19 August 2026 and the current patch release is 7.1.4, issued on 28 October 2026 (endoflife.date). Only the latest release is actively maintained, so a site pinned to an older branch depends on backported fixes arriving.
ScaleStation recommends this patch service level for B2B sites:
| Update type | Apply within |
| Critical WordPress core patch | 24 hours |
| Plugin with a known exploited vulnerability | 24 hours |
| Other security updates | 7 days |
| Feature updates | 30 days, tested on staging first |
A hacked B2B WordPress site costs more than the clean-up. It interrupts lead capture, damages search visibility, and can trigger notification duties under the Privacy Act 1988 when personal information in form submissions or a connected CRM is accessed. Each of these costs lands on revenue teams, not only on IT.
The OAIC recorded 667 notifications in January to June 2026 (OAIC). A mid-market ANZ company in the $5M to $50M revenue band sits inside the scheme, so a compromised site that exposes contact data is a compliance event as well as a technical one. Confirm your obligations with legal counsel before an incident, not during one.
A WordPress security checklist for B2B teams has eight controls: patch critical flaws within 24 hours, cut plugins to the minimum, enforce two-factor authentication, restrict administrator access, run a web application firewall, keep tested off-site backups, log and monitor changes, and use isolated, supported hosting.
No. A security plugin or web application firewall reduces risk but does not replace patching. In Patchstack's penetration tests, hosting-level defences blocked 12% of attacks on known exploited WordPress vulnerabilities and 26% of a broader attack set. Use both layers, and treat neither as the fix.
The reporting on CVE-2026-87902 reaches the same conclusion: treat firewall rules as a supplementary layer, not a replacement for updating core. Use the layers for what they do well:
When a WordPress site is hacked, isolate it, preserve the logs, find and close the entry point, restore from a clean backup, rotate every credential and patch before bringing it back online. Restoring a backup without closing the original vulnerability results in reinfection.
Fixing WordPress security is the right strategy when the site depends on custom WordPress functionality and someone owns patching. It is the wrong strategy when nobody owns patching, because a managed CMS removes core, hosting and firewall maintenance from your team entirely.
HubSpot states that sites on its hosting are protected by 24/7 security and threat detection, SSL and a web application firewall (HubSpot). That moves platform patching to the vendor. It does not move account security or custom code, which stay yours on any platform.
| Security task | WordPress (self-managed or agency-managed) | HubSpot CMS Hub (managed) |
| Core and platform patching | Your team or host, on your schedule | Operated by HubSpot |
| Third-party plugin risk | Large attack surface; 91% of vulnerabilities | Smaller surface; apps and custom code still need review |
| Firewall, SSL and monitoring | You select, configure and pay for them | Stated as included by HubSpot |
| User accounts and 2FA | Your responsibility | Your responsibility |
| Flexibility | Highest; any plugin or custom build | Lower; constrained to the platform |
| Migration effort | None | One-off project to move content, URLs and redirects |
The trade-off is flexibility and migration effort. ScaleStation's position: B2B companies without a named patch owner, or with a plugin stack they cannot fully inventory, should move off self-managed WordPress. Companies with a disciplined patch process and genuine custom requirements can stay and apply the checklist above. For the decision framework see when to migrate from WordPress, and for the platform comparison see WordPress vs HubSpot CMS for B2B. If you decide to move, the WordPress to HubSpot CMS migration guide covers the process, and WordPress alternatives for B2B companies and the best CMS for B2B in Australia cover the wider options. For cost, see the true cost comparison for Australian B2B.
WordPress security fails at the plugin layer and the patching process, not at the platform core. Plugins carried 91% of 2025 vulnerabilities, 46% had no fix at disclosure, and attackers move within hours, so B2B sites need a 24-hour critical patch window, a smaller plugin stack, two-factor authentication, a firewall and tested backups. If nobody on your team owns those controls, a managed CMS is the lower-risk operating model. Patchstack's 2025 data of 11,334 new vulnerabilities, up 42% year on year, shows the pressure is rising.