Software

Two security flaws fixed in the All in One SEO plugin

Two security flaws in the All in One SEO WordPress plugin, used on over two million sites, have been patched. What should companies with WordPress sites do?

Short answer

The All in One SEO WordPress plugin had two medium-severity security flaws, and both are now fixed in new releases. One lets unauthenticated attackers run commands under certain conditions; the other lets them inject malicious scripts. Sites using the plugin should update to the latest version and check which version they run.

Highlights

  • The plugin has more than 2 million active installations.
  • The shortcode flaw affects all versions up to 5.0.2; the script-injection flaw affects versions up to 5.0.1.1.
  • Fixes shipped in 5.0.2 and 5.0.2.1; the recommended minimum is 5.0.2.1.
Two professionals working on laptops in an office
Photo: Cedric Fauntleroy / Pexels

2 min readAuthor: UNIT Journal EditorEditor-in-chief: Uğur Deniz İlhan

Search Engine Journal reports that two security vulnerabilities have been disclosed in All in One SEO (AIOSEO), one of the most widely used SEO plugins for WordPress. The plugin has more than 2 million active installations, so many company sites are affected.

What do the flaws actually do?

The first flaw, rated 6.5 (medium), affects all versions up to 5.0.2. It lets unauthenticated attackers run WordPress shortcodes under certain conditions. According to Wordfence, it requires the plugin's breadcrumb component to be displayed on the search results page.

The second, rated 6.1 (medium), affects versions up to 5.0.1.1. It is a DOM-based cross-site scripting (XSS) flaw, where a malicious script runs through a crafted URL. It also requires a user with SEO management permission to open the SEO Preview panel in the admin area while visiting that URL.

Which version contains the fix?

The script-injection flaw was fixed in version 5.0.2 and the shortcode flaw in version 5.0.2.1. The source recommends moving to 5.0.2.1 or newer to cover both.

What should companies with WordPress sites do?

The source only recommends updating the plugin. The steps below are our own suggestions:

  • Check the All in One SEO version on your WordPress Plugins page and update to 5.0.2.1 or newer.
  • If an agency or software team manages your site, ask them to confirm the version in writing.
  • Review who holds SEO management permission on your site, remove unnecessary access and use two-step verification on admin accounts.
  • Set a regular schedule for plugin updates and do not leave security patches waiting for weeks.

Frequently asked

How do I know if I am affected?
If your plugin version is older than 5.0.2.1, you are within an affected range. Updating closes both flaws; if you notice unexpected content or redirects on your site, tell your software team.

Sources

  1. Search Engine Journal ·

Follow UNIT Journal

What's new in search, AI and technology, in your feed every day.

Related articles

← Back to UNIT Journal

Let us measure
your visibility today.

We map your current search visibility and your standing inside generative engines. Free, one page, real data.

Request an Analysis
Get a Quote