Claim my spot: 2 months free
Contents
  1. Is WordPress safe to use in 2026?
  2. Where does WordPress do well?
  3. How many WordPress vulnerabilities are there?
  4. Where does WordPress get into trouble?
  5. Does a security plugin or a host firewall solve it?
  6. What does a well-run WordPress site need?
  7. When does a different approach make sense?
  8. Questions people ask
  9. Sources and how this was written

TL;DRWordPress core is well looked after, but a WordPress site is only as safe as its plugins, themes, server and logins. Patchstack counted 11,334 new vulnerabilities in 2025, almost all in plugins and themes. WordPress can be run safely. It takes a named owner, a short plugin list and steady updates.

Is WordPress safe to use in 2026?

WordPress core is well looked after, but a WordPress site is only as safe as its plugins, themes, server and passwords. Patchstack found only 6 new vulnerabilities in core in 2025, against 11,334 across plugins, themes and core together. So WordPress can be run safely, and it takes steady work to do it.

Fairness matters here. Most of what you read about WordPress being unsafe is about neglected sites. A site with a short plugin list, an owner who updates it and a host that keeps PHP current is a different thing from one that has not been touched in a year. The risk sits in how the site is run.

Where does WordPress do well?

WordPress does well at the part its own team controls. When a serious flaw appeared in core in July 2026, WordPress released version 7.0.2 on 17 July, with fixes in 6.9.5 and 6.8.6, and turned on forced updates for affected sites. Wiz dates the public chain to the same day, 17 July 2026.

That flaw, called wp2shell, chained two bugs: CVE-2026-63030 in the REST API's batch endpoint and CVE-2026-60137, an SQL injection in a database query. Core is not immune, then. What the episode shows is the response: a fix on the day the chain went public, pushed to affected sites without waiting for their owners to click.

Two serious events in 2026
DateWhat happenedSource
17 July 2026WordPress 7.0.2, 6.9.5 and 6.8.6 fixed one critical, one high issueWordPress.org News
20 July 2026Wiz: multiple actors exploited wp2shell on self-hosted WordPress in the cloudWiz
20 and 21 October 2026Critical PHP2Shell flaws leaked, PHP fixed them, WordPress issued no updatePHP project and WordPress.org News
Sources: WordPress.org News, 17 July and 21 October 2026; Wiz, 20 July 2026; PHP project, 21 October 2026.

Two details the table leaves out. The 17 July release also turned on forced updates for affected sites. On 21 October WordPress said it is not releasing an update, because the two critical flaws are in PHP, not in WordPress.

How many WordPress vulnerabilities are there?

Patchstack counted 11,334 new vulnerabilities across WordPress in 2025, up 42% on 2024. Of those, 91% were in plugins and 9% in themes, and 4,124, or 36%, were serious enough to need active protection rules. Plugins, not WordPress itself, account for almost all of the problem.

  • 11,334

    new vulnerabilities in 2025, up 42% on 2024

    Patchstack, State of WordPress Security in 2026

  • 91%

    were in plugins, 9% in themes, 6 in core

    Patchstack, State of WordPress Security in 2026

  • 4,124

    needed active protection rules, 36% of the total

    Patchstack, State of WordPress Security in 2026

  • 46%

    had no developer fix when they were made public

    Patchstack, State of WordPress Security in 2026

  • 113%

    year-on-year rise in highly exploitable vulnerabilities

    Patchstack, State of WordPress Security in 2026

  • 5 hours

    weighted median time to first exploit for heavily exploited vulnerabilities

    Patchstack, State of WordPress Security in 2026

  • 26%

    of attacks blocked in host tests, 12% in the first

    Patchstack, State of WordPress Security in 2026

A vulnerability is a flaw that could be abused, not a break-in. Most get fixed, and many never see an attack. The ones that matter are serious, reachable without logging in, and unpatched. That is why the 4,124 figure says more than the headline count: about one in three needed active protection.

A count of vulnerabilities is not a count of hacked sites, and Patchstack sells WordPress protection, so read the figures as a guide to where the risk is. The direction is hard to argue with. The number is rising, and the weak spot is the part you choose and install yourself.

Where does WordPress get into trouble?

WordPress gets into trouble outside core. Plugins carry 91% of new vulnerabilities and themes 9%, nearly half arrive with no developer fix, and attackers move fast: Patchstack's weighted median time to first exploit is 5 hours for heavily exploited flaws. A site that updates once a month can stay exposed for weeks.

The server counts too. WordPress runs on PHP, and PHP2Shell, fixed on 21 October 2026, was a reminder that a flaw in the layer underneath can reach every site on it. We cover that in our PHP2Shell guide. WordPress said it is not releasing an update for it, so the fix sits with your host.

WordPress risks, rated
RiskHow big it isWho controls itWhat helps
WordPress coreSmall: 6 new vulnerabilities in 2025, all low priorityThe WordPress teamKeep automatic updates on
PluginsThe biggest: 91% of new vulnerabilities in 2025You, and each plugin's developerFewer plugins, and quick updates
Themes9% of new vulnerabilities in 2025You, and the theme's developerOne maintained theme, and delete the spares
PHP and the serverTwo critical PHP flaws were fixed on 21 October 2026Your hostAsk which PHP version your site runs
LoginsWordPress's guide for hacked sites names access control as a key fixYouUnique passwords and two-factor sign-in
A host firewallBlocked 26% of attacks in Patchstack's test of popular hostsYour hostTreat it as a bonus, not a plan
Sources: Patchstack, State of WordPress Security in 2026; WordPress.org News; WordPress.org Documentation, FAQ: My site was hacked; PHP project. WordPress runs on 39.6% of all websites (W3Techs, 22 October 2026).

One detail the table leaves out: WordPress core's rating is small, but a critical flaw in core was fixed on 17 July 2026, which is why automatic updates matter.

Does a security plugin or a host firewall solve it?

A security plugin or host firewall helps, but it does not solve the problem. In Patchstack's tests of popular hosting companies, only 26% of vulnerability attacks were blocked, and 12% in the first test, which used known exploited WordPress flaws. Firewalls reduce risk, and updating still matters most.

What does a well-run WordPress site need?

A well-run WordPress site needs a named person, a short plugin list and a routine. Someone must own updates for core, plugins, themes and PHP, remove what is unused, keep tested backups, and protect every administrator login with a unique password and two-factor sign-in. None of it is hard, but all of it is ongoing.

  • A named owner. One person, or one provider, is responsible for updates. Without a name, nobody does them.
  • A short plugin list. Every plugin is code someone else wrote and you must keep patched. Delete the ones you do not use.
  • Updates within days. With a median of 5 hours from disclosure to first exploit for the worst flaws, a monthly routine leaves a long gap.
  • Backups you have restored once. A backup you have never tested may not work on the day.
  • A record of changes. An activity log that shows who changed what makes a problem easier to spot and to undo.
  • A host that updates PHP. Ask which version your site runs, and who updates it.

When does a different approach make sense?

A different approach makes sense when your site is a brochure or lead-generation site that does not need plugins and nobody wants to own the patching. Pre-built sites remove whole types of attack: no database to inject into, no plugins to exploit, and no PHP running when a page loads. They suit businesses that update content, not those running an online shop.

Unpress, a modern, secure CMS, is our version of this, built and hosted by us. It is not for every site: online stores and members' areas need other tools. How Unpress keeps a site secure says what it covers and what it leaves to you, and a side-by-side look at the secure options compares the main types. Our SEO work keeps your rankings safe if you move.

Questions people ask

01Is WordPress secure out of the box?

Core is well maintained, and WordPress can push critical updates to sites automatically. The risk grows with every plugin and theme you add, so a plain install is safer than a crowded one.

02Are WordPress plugins safe?

Many are, but plugins carry almost all of the new vulnerabilities. Patchstack found 91% of the 11,334 new ones in 2025 were in plugins. Install fewer, and update the ones you keep quickly.

03Was WordPress core hacked in 2026?

A serious flaw in core, called wp2shell, was fixed on 17 July 2026 in WordPress 7.0.2. Wiz reported that attackers exploited it against self-hosted sites. WordPress turned on forced updates for affected sites.

04Can my host make WordPress safe?

A good host helps, especially by keeping PHP current. A host firewall alone is not enough. In Patchstack's test, only 26% of attacks were blocked across popular hosting companies.

See how Unpress keeps a website secure

Sources and how this was written

How we researched this. We read Patchstack's State of WordPress Security in 2026 on its own page, WordPress.org's release note for 7.0.2 and its note on the PHP release, Wiz's report on wp2shell, the PHP project's advisory and W3Techs's usage page. Patchstack sells WordPress protection and Wiz is a security vendor, so we flag that. Reports can differ in scope, so we say who reported what. We will re-check every figure each quarter.

How this was written. Researched with AI tools from the sources below, then checked and edited by Steven Morey.

  1. State of WordPress Security in 2026, Patchstack (published 2026)
  2. WordPress 7.0.2 Release, WordPress.org News (17 July 2026)
  3. Exploitation in the wild of wp2shell, Wiz (20 July 2026)
  4. Critical PHP Security Release, WordPress.org News (21 October 2026)
  5. Security advisory and PHP release announcements, PHP project (php.net) (21 October 2026)
  6. FAQ: My site was hacked, WordPress.org Documentation (last updated 26 July 2026)
  7. Usage statistics of WordPress, W3Techs (22 October 2026)

Sign up now. We open to everyone on 1 November.

Get your first two months free when we launch.

  • $500 a month
  • 2 months free
  • Results in 60 days, or your first two months back
Three colleagues going through documents at a desk

We'll only use your details to tell you about the launch. Privacy notice