FAQ WordPress

Is WordPress secure?

Core WordPress is actively maintained and reasonably secure. Almost every real compromise comes from something added on top of it.

Updated 4 min read Beginner

Yes, core WordPress is reasonably secure — it is actively maintained, security issues found in it are generally patched quickly, and it powers a large enough share of the web that it receives constant scrutiny from security researchers. Most real-world WordPress compromises have very little to do with a flaw in WordPress core itself.

Where the actual risk lives

Almost every hacked WordPress site traces back to one of a small number of causes, and none of them is "WordPress is insecure by design":

  • Outdated plugins and themes. Third-party code varies enormously in quality, and a vulnerability in a single unmaintained plugin is by far the most common way sites are compromised — not a flaw in WordPress itself.
  • Weak or reused passwords. An account secured with a common or reused password is vulnerable regardless of how secure the software behind it is.
  • Delayed updates. Security fixes are only protective once installed. A known, publicly disclosed vulnerability in an unpatched site is an open door, and automated scans specifically look for exactly this.
  • No login protection. WordPress does not limit failed login attempts by default, which makes automated password-guessing possible unless something is added to stop it.
The pattern is consistent

Nearly every compromise is something added to WordPress, or something left unmaintained, rather than a weakness in the core software. This is genuinely good news, because it means the risk is largely within your control.

What actually keeps a WordPress site secure

  • Keeping core, themes and plugins updated, ideally with minor updates applied automatically.
  • Removing plugins and themes you are not actively using rather than leaving them deactivated.
  • Unique, generated passwords on every account with admin access, plus two-factor authentication.
  • A limit on failed login attempts, since WordPress does not include one by default.
  • Backups taken regularly and stored somewhere other than the hosting account itself, so recovery is possible even in a worst case.

None of this is complicated, and together it addresses the actual sources of risk rather than an imagined weakness in WordPress itself. See securing a WordPress site for the full walkthrough, and limiting WordPress login attempts for the specific gap most default installs leave open. If a site has already been compromised, cleaning a hacked WordPress site covers what to do next.

Related reading