Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/all-in-one-seo-pack/tags/4.8.9/app/Co
- https://plugins.trac.wordpress.org/browser/all-in-one-seo-pack/tags/4.8.9/app/Co
- https://plugins.trac.wordpress.org/browser/all-in-one-seo-pack/tags/4.8.9/app/Co
- https://plugins.trac.wordpress.org/browser/all-in-one-seo-pack/tags/4.8.9/app/Co
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new
- https://www.wordfence.com/threat-intel/vulnerabilities/id/05abc09f-903b-45a9-8cd
FAQ
What is CVE-2025-12847?
CVE-2025-12847 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 ...
How severe is CVE-2025-12847?
CVE-2025-12847 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-12847?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.