All in One SEO <= 4.1.0.1 - Authenticated Code Injection

8.8
Improper Control of Generation of Code ('Code Injection')
CVE CVE-2021-24307
CVSS 8.8 (High)
Publicly Published May 9, 2021
Last Updated February 2, 2023
Researcher Vincent MICHEL

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.

References

Share

Vulnerability Details for All in One SEO – AI SEO Plugin to Boost SEO Rankings & Traffic (Schema, Local SEO, Sitemap & SEO Insights)

Software Type Plugin
Software Slug all-in-one-seo-pack (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.1.0.2, or a newer patched version
Affected Version
  • < 4.1.0.2
Patched Version
  • 4.1.0.2

Recent vulnerabilities in All in One SEO – AI SEO Plugin to Boost SEO Rankings & Traffic (Schema, Local SEO, Sitemap & SEO Insights)

# Title CVE ID CVSS Researchers Date
1 All in One SEO < 4.9.9 - Missing Authorization CVE-2026-10755 5.3 WPscan June 29, 2026
2 All in One SEO <= 4.9.7 - Authenticated (Contributor+) Sensitive Information Exposure via 'internalOptions' Localized Script Data CVE-2026-5075 4.3 0x61626390 May 19, 2026
3 All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic <= 4.9.2 - Missing Authorization to Authenticated (Contributor+) AI Access Token and Credit Disclosure CVE-2025-14384 4.3 NosleeP++ January 15, 2026
4 All In One SEO Pack <= 4.9.1 - Authenticated (Contributor+) SQL Injection CVE-2025-67950 6.5 Drew Webber (mcdruid) December 6, 2025
5 All In One SEO Pack <= 4.8.6.1 - Authenticated (Subscriber+) Information Exposure CVE-2025-64295 4.3 Abu Hurayra (HurayraIIT) November 26, 2025
6 All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic <= 4.8.9 - Missing Authorization to Authenticated (Contributor+) Arbitrary Media Deletion CVE-2025-12847 4.3 shark3y November 14, 2025
7 All In One SEO Pack <= 4.8.7.1 - Missing Authorization CVE-2025-58650 5.4 Abu Hurayra (HurayraIIT) September 22, 2025
8 All In One SEO Pack <= 4.8.7.1 - Authenticated (Contributor+) Sensitive Information Exposure CVE-2025-58649 4.3 Abu Hurayra (HurayraIIT) September 22, 2025
9 All in One SEO Pack <= 4.8.1.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Post Meta Description and Canonical URL CVE-2025-2892 6.4 Ivan Kuzymchak May 18, 2025
10 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 CVE-2024-3554 6.4 Krzysztof Zając April 29, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation