WordPress itself is secure. The risk is in what gets added to it. Of the 11,334 new vulnerabilities found in the WordPress ecosystem in 2025, 91% were in plugins, 9% were in themes, and only 6 were in WordPress core, all low priority[1]. That was a 42% increase on 2024[1]. Speed is the other problem: the median time to mass exploitation for heavily exploited vulnerabilities was 5 hours, and 46% of vulnerabilities had no fix available when they were made public[1]. So a WordPress site is safe when someone updates it constantly and keeps the plugin list short. For a small business with nobody doing that, it is not.
BaaDigi builds websites on Next.js and replaces hacked WordPress sites, so we compete with WordPress. The figures below are from Patchstack, WordPress.org and the Next.js and React teams, so you can check them.
Where do WordPress security problems come from?
| Where | Share or count |
|---|---|
| Plugins | 91% |
| Themes | 9% |
| WordPress core | 6 vulnerabilities, all low priority |
| Total new vulnerabilities | 11,334 (up 42% on 2024) |
| High severity | 1,966 (17%) |
| No fix at public disclosure | 46% |
The pattern is plain. The WordPress software is looked after. The plugins and themes that owners add are written by thousands of separate developers, and that is where almost every hole is found[1].
How fast are WordPress vulnerabilities exploited?
Faster than most owners update. Patchstack found that the median time to mass exploitation for heavily exploited vulnerabilities was 5 hours[1]. A plugin update that waits for a monthly maintenance visit is weeks too late.
Updating does not always help. 46% of vulnerabilities were not fixed in time for public disclosure, so for those there was no update to install on the day attackers learned about them[1].
What makes a WordPress site safer?
WordPress.org’s own hardening guide says WordPress is updated regularly to address new security issues[2]. Installing those updates is the owner’s job. In practice, four habits do most of the work:
- Update WordPress, plugins and themes as soon as updates are released.
- Remove every plugin and theme you do not use. Fewer plugins means fewer places for a hole.
- Use long, unique passwords for every account.
- Keep at least three backups, stored in different places[3].
All four need a person. If your site has one, WordPress can be run safely. If it does not, the same guide’s advice goes undone and the numbers above apply to you.
Is Next.js more secure than WordPress?
For a business site made of pages, photos and forms, it has less to attack. A standard Next.js marketing site has no public admin login, no plugins and no WordPress database, so the plugin and theme holes above do not apply.
It is not immune. In March 2025 a flaw in Next.js made it possible to bypass authorization checks done in middleware; it was fixed in versions 12.3.5, 13.5.9, 14.2.25 and 15.2.3[4]. In December 2025 the React team disclosed an unauthenticated remote code execution flaw in React Server Components, rated 10.0[5]. It affected Next.js 15 and 16 sites using the App Router, and Next.js said there was no workaround other than upgrading to a patched version[6].
The honest difference is the amount of upkeep, not immunity. A Next.js site has one framework to patch. A WordPress site has the core plus every plugin and theme, each from a different developer.
Should a small business stay on WordPress?
- Stay: you rely on WordPress plugins you cannot replace, and a named person or company updates the site every week.
- Stay, but fix it: you have a maintenance plan. Ask how fast plugin updates are applied and how many plugins are installed.
- Move: nobody owns updates, or the site has already been hacked. A site with nothing to log in to and no plugins needs far less looking after.
To see where your own site stands, run the free security scan. It checks nine public things, including exposed login pages and outdated software, and changes nothing.
Frequently asked questions
- Is WordPress secure?
- The WordPress core is. In 2025 only 6 vulnerabilities were reported in core, all low priority. The risk is in plugins and themes, which accounted for 91% and 9% of the 11,334 new vulnerabilities Patchstack recorded that year.
- Why do WordPress sites get hacked?
- Mostly through plugins. 91% of new WordPress vulnerabilities in 2025 were in plugins, and the median time to mass exploitation for heavily exploited ones was 5 hours, which is faster than most sites are updated.
- Do updates keep a WordPress site safe?
- They help a great deal, but not completely. Patchstack found that 46% of vulnerabilities had no fix available when they were publicly disclosed, so there was nothing to install at first.
- Is Next.js safer than WordPress?
- A standard Next.js marketing site has no public admin login, no plugins and no WordPress database, so it has less to attack. Next.js is not immune: it had a middleware authorization bypass in March 2025 and was affected by a critical React flaw in December 2025. Both were patched.
- How many plugins is too many?
- There is no published safe number. Every plugin is separate code from a separate developer, so the practical rule is to remove any plugin you do not use and keep the rest updated.
Related reading
Sources
Every source was opened and read on the date shown. Vendor prices change; check the vendor's page before buying. How we research: methodology.
- Patchstack: State of WordPress Security in 2026 (2025 data) — checked 2026-11-24
- WordPress developer handbook: hardening WordPress — checked 2026-11-24
- WordPress developer handbook: backups — checked 2026-11-24
- GitHub security advisory: authorization bypass in Next.js middleware (March 21, 2025) — checked 2026-11-24
- React blog: critical security vulnerability in React Server Components (December 3, 2025) — checked 2026-11-24
- Next.js blog: security advisory CVE-2025-66478 — checked 2026-11-24