Stack ReviewSoftware reviews with the real prices. No pay-to-rank.

SEO Tools

Are WordPress plugins safe? 18 core fixes and 16 in one plugin

WordPress plugins are as safe as your update habits. Rank Math's 16 flaws in 2026, WordPress 7.1.5's 18 fixes and one poisoned update that reached 35,000 sites explain why.

8 min read
O
Owen Marsh

Editor, Stack Review

How we research

macbook pro on white table

Are WordPress plugins safe? Mostly, provided the person maintaining the site updates them on time. Core WordPress 7.1.5 shipped 18 vulnerability fixes and two hardening changes in a single release, and one SEO plugin, Rank Math, had 16 vulnerabilities reported against it in 2026. Both numbers describe third-party code running on someone else's release schedule, which is why your update habit decides most of the outcome.

Where the risk comes from

Plugins run with the same access as WordPress itself, so a flaw in a plugin is a flaw in your site. What varies is how much an attacker needs before they can use it. Rank Math's two worst 2026 bugs, both rated 8.8 on the CVSS scale, needed only Contributor or Author access to reach remote code execution. CVE-2026-1928 was a PHP object injection disclosed on October 27, and CVE-2026-81757 was disclosed on August 27. Contributor is the role most sites hand to guest writers and freelancers.

The core release shows the same pattern at greater volume. Version 7.1.5 fixed 18 vulnerabilities plus two security improvements, 20 issues in total. The one to know about is an unauthenticated privilege escalation in the Template Part block attributes that could lead to remote code execution, which means an attacker needs no login at all to run their own code on the server. From there they can create admin accounts, plant backdoors, alter the database or inject malware. The same release patched a multisite escalation from Administrator to Super Admin through Customizer menu previews, and an unauthenticated stored XSS in shortcode attributes inside comments.

A core install a month behind schedule is carrying every one of those.

Rank Math's 16 flaws in 2026

The 2026 count for Rank Math was 16 vulnerabilities, more than any other SEO plugin, covering website takeover, exposed data and unauthorised content changes. The specifics matter more than the total:

  • CVE-2026-1928: PHP object injection leading to remote code execution, Contributor access or higher, CVSS 8.8, disclosed October 27.
  • CVE-2026-81757: remote code execution, Author access or higher, CVSS 8.8, disclosed August 27.
  • CVE-2026-104752: arbitrary file upload, Administrator access or higher, CVSS 7.2, disclosed October 8.
  • An unauthenticated stored cross-site scripting flaw, also rated 7.2, exploitable with no login at all.

Wordfence counted four vulnerabilities in the free version of Yoast SEO over the same year and two in the paid version. That comparison is the most useful number on this page, because it turns plugin choice into a security decision. A plugin with 16 disclosures in a year earns a same-day update habit.

Disclosure volume is rising across the board as AI-assisted tooling makes bugs cheaper to find, and Yoast still came in at four. The gap is maintenance, not luck.

When the update itself is the risk

In June 2024, malicious code turned up inside updates for several plugins hosted on WordPress.org, including Social Warfare. Wordfence traced the compromise to developer accounts that had used previously exposed credentials. The injected code could create administrator accounts and pull data out of the site, and researchers found code written to inject SEO spam. Roughly 35,000 installations were potentially exposed, though Wordfence could not say how many actually received the bad update.

The following month, Gravity Forms disclosed that some copies of versions 2.9.11.1 and 2.9.12 offered for manual download had been modified.

Malicious updates are the exception. An unpatched plugin is the routine problem, so install through the plugin screen inside WordPress or from the vendor's own account area, and treat an emailed zip or a mirror linked in a forum thread as suspect. A version number printed on a file says nothing about who built it. Someone who has worked with WordPress for more than 20 years made this point in a Search Engine Journal piece: updating is still the first security advice worth giving, and the assumption underneath it, that the update is what the developer actually shipped, is the part nobody checks.

Why the damage shows up in search results

When someone gets into a site, the visible symptoms tend to be search symptoms. Pages change, spam appears, redirects and indexing directives get altered, and content shifts without the editorial team knowing. Days can go into fixing those as technical SEO problems before anyone considers that an account was compromised. If rankings fall and the copy looks slightly off, check login history and plugin versions before you rewrite a single title tag.

What to do this week

Every item below is free, and the first pass takes under an hour on a normal small-business site.

  • Update core and every plugin within a week of a security release, and the same day when the flaw allows unauthenticated remote code execution.
  • Delete plugins you don't use. An inactive plugin with a live vulnerability is still files sitting on your server.
  • Audit user roles. Contributor and Author accounts were enough for Rank Math's two 8.8-rated bugs, so guest-post logins should expire.
  • Install from the WordPress admin or the vendor's site. An emailed zip is not a distribution channel.
  • On multisite, treat every site admin as a network admin. That is exactly how the Customizer flaw in 7.1.5 escalated.
  • Watch for new administrator accounts and outbound links you didn't add. Injected code tends to leave both behind.

Do paid plugins buy safety?

Premium pricing doesn't buy a better patch record. Yoast's free version had four vulnerabilities in 2026 and the paid version had two, close enough that security shouldn't be the reason you upgrade. What the money buys is features and support. I'd put the budget into backups and a staging site for testing updates instead, because those cover the failure that actually takes a small site offline for a week.

6.5 / 10

$0

Best for Small sites running five or fewer actively maintained plugins, owned by someone who updates within a week of every security release

Pros

  • Core security releases are free: 7.1.5 shipped 18 fixes and two hardening changes in one update.
  • Maintained free plugins are not the weak tier; Yoast had four vulnerabilities free against two paid in 2026.
  • The common attack paths need stale software or a careless account role, both of which cost nothing to close.

Cons

  • Contributor-level access was enough for two CVSS 8.8 remote code execution flaws in Rank Math in 2026.
  • Developer accounts on WordPress.org have been compromised before; the June 2024 updates reached roughly 35,000 installations.
  • A version number on a manual download proves nothing, as the modified Gravity Forms copies of 2.9.11.1 and 2.9.12 showed.

The plugin ecosystem is fine for most small sites as long as updating is a habit. If you run Rank Math, patch it and review your Contributor accounts this week. If you're choosing an SEO plugin from scratch, Yoast's 2026 record, four flaws in the free version and two in the paid one, is the better starting point.

Frequently asked questions

Are WordPress plugins safe to install?
Yes, when you install from the WordPress admin or the vendor and update quickly. The 2026 record shows the real risks: 16 vulnerabilities in Rank Math, two of them CVSS 8.8 remote code execution reachable with Contributor access. Risk comes from stale installs, loose account roles and compromised developer accounts, all of which you can manage.
Can a plugin be exploited without me doing anything wrong?
Sometimes. Rank Math had an unauthenticated stored XSS rated 7.2 in 2026, and WordPress core 7.1.5 fixed an unauthenticated flaw that could reach remote code execution. A bug like that needs no account and no action from you, so the version you're running is the only thing that helps.
Is Rank Math less safe than Yoast SEO?
Its 2026 record is worse: 16 vulnerabilities against four in Yoast's free version and two in the paid one. That's a maintenance and disclosure record, not proof of a hole in the copy you run today. If you use Rank Math, update and check who holds Contributor accounts. If you're picking fresh, Yoast's patch history is the stronger argument.
How fast should I update a plugin after a security release?
Same day when the flaw is unauthenticated or allows remote code execution, within a week for everything else. Test on staging first if the plugin handles checkout, forms or logins, so a broken update doesn't cost you a day of lost orders.
Do I need a security plugin?
A security plugin can block some attacks, but it can't patch a vulnerable file for you. Updating, deleting unused plugins and tightening user roles do more. Backups are what save you when the rest fails.

Sources