All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic <= 4.8.9 - Missing Authorization to Authenticated (Contributor+) Arbitrary Media Deletion
Strategic Overview
- Status
- Patched in 4.9.0
- Affected Plugin
- All in One SEO – AI SEO Plugin to Boost SEO Rankings & Traffic (Schema, Local SEO, Sitemap & SEO Insights)
- Affected Version
<= 4.8.9- CVSS
- 4.3Medium
- Weakness type
- CWE-862 · Missing Authorization
- CVE
CVE-2025-12847
At a glance
CVE-2025-12847 is a medium-severity Missing Authorization vulnerability in the All in One SEO WordPress plugin, affecting versions <= 4.8.9. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Contributor level or above. The issue is fixed in version 4.9.0; sites on affected versions should update now. Disclosed November 2025, reported by shark3y.
Vulnerability Overview
The All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic plugin for WordPress is vulnerable to unauthorized arbitrary media attachment deletion due to a missing authorization check in all versions up to, and including, 4.8.9. This is due to the REST API endpoint `/wp-json/aioseo/v1/ai/image-generator` only verifying that users have the `edit_posts` capability (Contributors and above) without checking if they own or have permission to delete the specific media attachments. This makes it possible for authenticated attackers, with Contributor-level access and above, to permanently delete arbitrary media attachments by ID via the REST API, granted they can determine valid attachment IDs.
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.
CWE-862: Missing Authorization
Reaching this weakness in All in One SEO <= 4.8.9 takes an account at Contributor level or above. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.
Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. For All in One SEO the fix is 4.9.0: builds <= 4.8.9 are affected, anything from 4.9.0 onward is not.
Remediation
Update to version 4.9.0, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: All in One SEO 4.9.0 closes this, and updating the plugin is the step that ends it.
- Login Security
- 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)
- 9.6CVE-2021-25037: All in One SEO 4.1.3.1 - 4.1.5.2 SQL Injection
CVE-2021-25037 - 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.5CVE-2025-67950: All In One SEO Pack <= 4.9.1 SQL Injection
CVE-2025-67950 - 6.4CVE-2026-82884: All in One SEO <= 5.0.0.0 Stored Cross-Site Scripting
CVE-2026-82884
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C