4.3medium
All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic <= 4.8.9 - Missing Authorization to Authenticated (Contributor+) Arbitrary Media Deletion
- Severity
- 4.3medium CVSS:3.1 by Wordfence
- Exploit likelihood
- 0.25% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Wordfence
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| smub All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic | up to 4.8.9 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El plugin All in One SEO - Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic para WordPress es vulnerable a la eliminación no autorizada de adjuntos de medios arbitrarios debido a una falta de verificación de autorización en todas las versiones hasta la 4.8.9, inclusive. Esto se debe a que el endpoint de la API REST '/wp-json/aioseo/v1/ai/image-generator' solo verifica que los usuarios tienen la capacidad 'edit_posts' (Colaboradores y superiores) sin verificar si poseen o tienen permiso para eliminar los adjuntos de medios específicos. Esto hace posible que atacantes autenticados, con acceso de nivel de Colaborador y superior, eliminen permanentemente adjuntos de medios arbitrarios por ID a través de la API REST, siempre que puedan determinar IDs de adjuntos válidos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-12847 changed 2026-04-08 | CVE Terms of Use |
| NVD | CVE-2025-12847 changed 2026-10-07 | Public domain |