WordPress powers about 43% of the web, which makes it the biggest target too. Most compromises are not clever zero-days; they are outdated plugins or weak admin passwords. Here is what to do about it.
Plugin hygiene
Every active plugin is attack surface. Audit twice a year. Delete anything you are not using. Only install from the WordPress plugin repository or a reputable vendor. Check that it has been updated in the last six months.
Login hardening
Change the admin username from `admin`. Enforce 2FA for all accounts with publishing rights. Rate limit login attempts, ideally at the server level, not just a plugin. Move or protect `/wp-admin` behind a secondary auth layer for high-risk sites.
File permissions and ownership
PHP files 644, directories 755. WordPress should not be able to write to its own `wp-content/plugins` directory in production; that defeats the attacker’s path to persistence after an RCE.
WAF and monitoring
A WAF (Wordfence, Sucuri, or your managed host’s built-in) catches the common attack signatures. Monitoring catches what the WAF misses. Related: backups, general security, Core Web Vitals.