Vulnerability Report
Plugin High Patch path listed CVE-2021-24307

All in One SEO <= 4.1.0.1 - Authenticated 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. 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.

Quick Answer

CVE-2021-24307 is a high severity with CVSS 8.8 Vulnerability issue affecting the Plugin All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic. It affects Versions before 4.1.0.2 and is fixed in 4.1.0.2.

Published
May 09, 2021
Last Updated
Jan 22, 2024
Slug
all-in-one-seo-pack
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 4.1.0.2, or a newer patched version
Operator Briefing

CVE-2021-24307 is tracked for the Plugin All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic as high severity with CVSS 8.8. The affected range is Versions before 4.1.0.2. Update All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic to 4.1.0.2 or newer where that version is compatible with the site.

Issue Type
Vulnerability
Primary Fixed Version
4.1.0.2
Primary Affected Range
Versions before 4.1.0.2
Tracking ID
CVE-2021-24307
Detailed Metadata
Software Type Plugin
Software Slug
all-in-one-seo-pack View on wordpress.org
CVE CVE-2021-24307
Patched Versions
4.1.0.2
Affected Versions
Versions before 4.1.0.2
Related CVE Cluster

Related CVEs for All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

Critical CVE-2021-25037 4.1.5.3 Dec 14, 2021
CVE-2021-25037 All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic SQL Injection

All in One SEO 4.1.3.1 - 4.1.5.2 - Authenticated SQL Injection

High CVE-2022-38093 4.2.4 Sep 05, 2022
CVE-2022-38093 All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic Cross-Site Request Forgery

All in One SEO <= 4.2.3.1 - Cross-Site Request Forgery

High CVE-2021-25036 4.1.5.3 Dec 14, 2021
CVE-2021-25036 All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic Remote Code Execution

All in One SEO 4.0.0 - 4.1.5.2 Authorization Bypass

Medium CVE-2025-67950 4.9.1.1 Dec 06, 2025
CVE-2025-67950 All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic SQL Injection

All In One SEO Pack <= 4.9.1 - Authenticated (Contributor+) SQL Injection

Medium CVE-2025-2892 4.8.2 May 18, 2025
CVE-2025-2892 All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic Stored Cross-Site Scripting

All in One SEO Pack <= 4.8.1.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Post Meta Description and Canonical URL

Medium CVE-2024-3554 4.6.1.1 Apr 29, 2024
CVE-2024-3554 All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic Stored Cross-Site Scripting

All in One SEO – Best WordPress SEO Plugin – Easily Improve SEO Rankings & Increase Traffic <= 4.6.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode

Medium CVE-2024-3368 4.6.1.1 Apr 29, 2024
CVE-2024-3368 All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic Stored Cross-Site Scripting

All in One SEO <= 4.6.0 - Authenticated (Contributor+) Stored Cross-Site Scripting

Medium CVE-2023-0586 4.3.0 Feb 24, 2023
CVE-2023-0586 All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic Stored Cross-Site Scripting

All in One SEO Pack <= 4.2.9 - Authenticated (Contributor+) Stored Cross-Site Scripting

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more