CVE-2025-12847: All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic <= 4.8.9 - Missing Authorization to Authenticated (Contributor+) Arbitrary Media Deletion

Published Nov 15, 2025
·
Updated

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 editposts 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.

Affected Software

1 affected component
All in One SEO SEO Plugin<=4.8.9

Event History

Nov 15, 2025
CVE Published
via MITRE·05:45 AM
Data Sourced
via MITRE·05:45 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-12847?

CVE-2025-12847 has a medium severity rating due to its potential for unauthorized access to media attachment deletion.

2

How do I fix CVE-2025-12847?

To fix CVE-2025-12847, update the All in One SEO plugin to version 4.9.0 or higher where the vulnerability is patched.

3

Who is affected by CVE-2025-12847?

CVE-2025-12847 affects all versions of the All in One SEO plugin for WordPress up to and including version 4.8.9.

4

What impact does CVE-2025-12847 have on WordPress sites?

CVE-2025-12847 allows unauthorized users to delete media attachments, potentially leading to data loss on affected WordPress sites.

5

Is there a way to mitigate CVE-2025-12847 if I cannot update immediately?

If you cannot update immediately, limit user permissions and access to the WordPress admin area to minimize exposure to CVE-2025-12847.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203