{"id":"CVE-2025-12847","aliases":["CVE-2025-12847"],"related":[],"kind":"vulnerability","state":"published","title":"All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic <= 4.8.9 - Missing Authorization to Authenticated (Contributor+) Arbitrary Media Deletion","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-11-15T05:45:32.963Z","modified":"2026-10-07T21:10:00.200Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"4.8.9","status":"affected"}],"vendor":"smub","product":"All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/05abc09f-903b-45a9-8cde-1bf8fd5d7d44?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/all-in-one-seo-pack/tags/4.8.9/app/Common/Api/Api.php#L192","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/all-in-one-seo-pack/tags/4.8.9/app/Common/Api/Ai.php#L542","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/all-in-one-seo-pack/tags/4.8.9/app/Common/Ai/Image.php#L192","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/all-in-one-seo-pack/tags/4.8.9/app/Common/Utils/Access.php#L184","tags":[],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3393820%40all-in-one-seo-pack&old=3384131%40all-in-one-seo-pack&sfp_email=&sfph_mail=#file1387","tags":[],"sources":["cvelist","nvd"]}],"credits":["Angus Girvan"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-11-17T18:42:37.154Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-12847","url":"https://www.cve.org/CVERecord?id=CVE-2025-12847","licence":"CVE Terms of Use","modified":"2026-04-08T16:33:27.132Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-12847","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12847","licence":"Public domain","modified":"2026-10-07T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:07.688Z","epss":{"score":0.00254,"percentile":0.18164,"date":"2026-12-01T12:00:22.000Z"}}