Skip to content
Emerging threatsHigh

CVE-2021-24307All In One Seo Code Injection

The All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings before 4.1.0.2 enables authenticated users with "aioseo_tools_settings" privilege (most of the time admin) to execute arbitrary code on the underlying host.

Published May 24, 2021 · Updated Nov 21, 2024 · Also known as WORDFENCE-b2a98c69-5f76-41f4-8a12-0523285647fb, b2a98c69-5f76-41f4-8a12-0523285647fb

Key Facts

Patch immediately
  • CVE-2021-24307 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting All In One Seo (Aioseo), all-in-one-seo-pack (wordpress-plugin), All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 53% probability of exploitation in the next 30 days.
  • Fixed versions are available, including All In One Seo 4.1.0.2, All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings 4.1.0.2, all-in-one-seo-pack 4.1.0.2.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

53%

Higher than 99.0% of all scored CVEs

Exploit maturity

None known

ATLAS score

28/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

1

Reports of active use

Description

The All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings before 4.1.0.2 enables authenticated users with "aioseo_tools_settings" privilege (most of the time admin) to execute arbitrary code on the underlying host. Users can restore plugin's configuration by uploading a backup .ini file in the section "Tool > Import/Export".

However, the plugin attempts to unserialize values of the .ini file. Moreover, the plugin embeds Monolog library which can be used to craft a gadget chain and thus trigger system command execution.

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
All In One SeoAioseoSee advisory4.1.0.2
all-in-one-seo-packwordpress-pluginSee advisory4.1.0.2
All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings>= 4.1.0.24.1.0.2

Patched Releases

All In One Seo

4.1.0.2

All in One SEO – Best WordPress SEO Plugin – Easily Improve Your SEO Rankings

4.1.0.2

all-in-one-seo-pack

4.1.0.2

Timeline

  1. Publicly disclosed

    May 24, 2021

  2. Last updated

    Nov 21, 2024

Weakness Type

  • CWE-94 Improper Control of Generation of Code
  • CWE-502 Deserialization of Untrusted Data

FAQ

Common Questions.

Is CVE-2021-24307 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 5, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.