CVE-2025-12847 Missing authorization in All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic

Medium 4.3 Published Updated

Authenticated contributors can arbitrarily delete media attachments via a REST API endpoint due to missing ownership checks.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-12847?

CVE-2025-12847 is a medium-severity missing authorization vulnerability in smub All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic, published on 15 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-862

Which versions are affected by CVE-2025-12847?

How do I fix CVE-2025-12847?

No fix has been published for CVE-2025-12847 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-12847 being exploited?

There is no known exploitation of CVE-2025-12847 in the wild and no public exploit code.

Sources

Also known as GHSA-w6hx-92x2-67r3.

Is CVE-2025-12847 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free