Almost all WordPress risk lies in plugins: in 2025, 91% of newly reported vulnerabilities were in plugins and only a handful in WordPress core. Nearly half had no fix when they were made public, and the most attacked ones were exploited within hours.
0 of 6 habits in place
Your progress is saved only in this browser. Nothing is sent to us.
Essential
Do this first. It stops the most common attacks.
Recommended
Worth doing once the essentials are in place.
Advanced
Extra protection for people facing higher risk.
Turn on automatic updates, with a backup behind them
Essential
Enable automatic updates for core, plugins and themes, and set up automatic backups first.
Why it matters
Old versions do not receive security fixes, and attacks start within hours of a flaw being announced. Backups make it safe to update quickly.
How to do it
Set up automatic daily backups stored away from the site.
Turn on automatic updates for WordPress core.
Enable auto-updates for plugins and themes on the Plugins and Themes screens.
Check the site after updates, and restore from backup if something breaks.
Remove plugins and themes you do not use
Essential
Delete unused plugins and themes, and install only from WordPress.org or reputable vendors, never 'nulled' copies.
Why it matters
Every plugin is code that may contain a vulnerability, even when it is deactivated. Pirated 'nulled' plugins often contain malware, and paid plugins are not automatically safer.
How to do it
Delete plugins and themes you do not use instead of just deactivating them.
Install plugins only from WordPress.org or the developer's official site.
Never use nulled or pirated plugins.
Check that each plugin is still maintained and recently updated.
Act when a plugin flaw has no fix
Recommended
If a vulnerability is announced without a patch, deactivate or replace the plugin instead of waiting.
Why it matters
Many vulnerabilities are public before a fix exists, and attackers start within hours. Waiting for an update can leave the door open.
How to do it
Subscribe to security alerts for the plugins you use.
Deactivate a plugin with an unpatched flaw that is being exploited.
Look for a maintained alternative.
Reactivate it only once a fixed version is available.
Turn off file editing in the dashboard
Recommended
Add define( 'DISALLOW_FILE_EDIT', true ); to wp-config.php.
Why it matters
The built-in theme and plugin editor is one of the first tools attackers use to run code after they log in. Turning it off removes that easy route.
How to do it
Back up wp-config.php.
Add define( 'DISALLOW_FILE_EDIT', true ); above the line that says to stop editing.
Save the file and check that the editor has disappeared from the dashboard.
Make code changes through deployment or SFTP instead.
Protect admin logins and limit roles
Essential
Use strong passwords and two-step verification for administrators, and give editors the lowest role that works.
Why it matters
Broken access control is the most exploited type of flaw, and these attacks look like normal logged-in traffic, which makes them hard for firewalls to catch. Fewer administrators means less damage from one stolen login.
How to do it
Turn on two-step verification for every administrator.
Give each person the lowest role they need, such as Editor or Author.
Remove old user accounts.
If you add extra password protection to /wp-admin/, check that admin-ajax.php still works.
Add a firewall and malware scanning, but keep patching
Advanced
Use a web application firewall or virtual patching plus a malware scanner as an extra layer, not as a replacement for updates.
Why it matters
In one vendor's tests, general-purpose firewalls and hosting defences blocked only a small share of WordPress-specific attacks. Firewalls help, but updates and fewer plugins do most of the work.
How to do it
Choose a firewall or security plugin from a reputable vendor.