All in One SEO 4.1.3.1 - 4.1.5.2 - Authenticated SQL Injection
Strategic Overview
- Status
- Patched in 4.1.5.3
- Affected Plugin
- All in One SEO – AI SEO Plugin to Boost SEO Rankings & Traffic (Schema, Local SEO, Sitemap & SEO Insights)
- Affected Version
4.1.3.1 – 4.1.5.2- CVSS
- 9.6Critical
- Weakness type
- CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CVE
CVE-2021-25037
At a glance
CVE-2021-25037 is a critical-severity Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in the All in One SEO WordPress plugin, affecting versions 4.1.3.1 – 4.1.5.2. It carries a CVSS score of 9.6 (reachable over the network; low attack complexity; high integrity, availability impact). Exploitation requires an authenticated account. The issue is fixed in version 4.1.5.3; sites on affected versions should update now. Disclosed December 2021, reported by Marc-Alexandre Montpas.
Vulnerability Overview
The All in One SEO WordPress plugin before 4.1.5.3 is affected by an authenticated SQL injection issue, which was discovered during an internal audit by the Jetpack Scan team, and could grant attackers access to privileged information from the affected site’s database (e.g., usernames and hashed passwords).
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on integrity, availability.
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Reaching this weakness in All in One SEO 4.1.3.1 – 4.1.5.2 takes any authenticated account. SQL injection happens when request data is concatenated into a query instead of being bound as a parameter, letting an attacker change the structure of the statement rather than just its values.
A working injection can read any table the database user can see, which on a WordPress install means user records, password hashes and session or API secrets stored in options. For All in One SEO the fix is 4.1.5.3: builds 4.1.3.1 – 4.1.5.2 are affected, anything from 4.1.5.3 onward is not.
Remediation
Update to version 4.1.5.3, or a newer patched version
How does WordSec protect against this?
The attempt arrives as an ordinary request to All in One SEO: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: All in One SEO 4.1.5.3 closes this, and updating the plugin is the step that ends it.
- Firewall
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in All in One SEO – AI SEO Plugin to Boost SEO Rankings & Traffic (Schema, Local SEO, Sitemap & SEO Insights)
- 8.8CVE-2022-38093: All in One SEO <= 4.2.3.1 Cross-Site Request Forgery
CVE-2022-38093 - 8.8CVE-2021-25036: All in One SEO 4.0.0 - 4.1.5.2 Authorization Bypass
CVE-2021-25036 - 8.8CVE-2021-24307: All in One SEO <= 4.1.0.1 Code Injection
CVE-2021-24307 - 7.2All in One SEO Pack <= 2.3.7 Stored Cross-Site Scripting
- 7.2All in One SEO Stored XSS
- 6.4CVE-2026-82884: All in One SEO <= 5.0.0.0 Stored Cross-Site Scripting
CVE-2026-82884 - 6.4CVE-2025-2892: All in One SEO Pack <= 4.8.1.1 Stored XSS
CVE-2025-2892 - 6.4CVE-2024-3368: All in One SEO <= 4.6.0 Stored Cross-Site Scripting
CVE-2024-3368
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C