CVE-2025-12847: CWE-862 Missing Authorization in smub All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic
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.
AI Analysis
Technical Summary
The All in One SEO plugin for WordPress contains a missing authorization vulnerability (CWE-862) in its REST API endpoint /wp-json/aioseo/v1/ai/image-generator. The endpoint checks only for the edit_posts capability, which Contributors and above have, but fails to verify whether the user owns or is authorized to delete the targeted media attachments. This flaw enables authenticated users with Contributor or higher privileges to delete arbitrary media attachments by specifying their IDs, potentially causing loss of media content on the affected WordPress site.
Potential Impact
The vulnerability allows authenticated users with Contributor-level permissions or higher to delete arbitrary media attachments without proper authorization. This can result in unauthorized removal of media files, impacting website content integrity. There is no indication of confidentiality or availability impact beyond media deletion. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — no official patch or fix is currently referenced. Users should monitor the vendor's advisory for updates and apply any official fixes once available. Until then, restrict Contributor-level access to trusted users only and consider disabling or limiting use of the affected REST API endpoint if possible.
CVE-2025-12847: CWE-862 Missing Authorization in smub All in One SEO – Powerful SEO Plugin to Boost SEO Rankings & Increase Traffic
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The All in One SEO plugin for WordPress contains a missing authorization vulnerability (CWE-862) in its REST API endpoint /wp-json/aioseo/v1/ai/image-generator. The endpoint checks only for the edit_posts capability, which Contributors and above have, but fails to verify whether the user owns or is authorized to delete the targeted media attachments. This flaw enables authenticated users with Contributor or higher privileges to delete arbitrary media attachments by specifying their IDs, potentially causing loss of media content on the affected WordPress site.
Potential Impact
The vulnerability allows authenticated users with Contributor-level permissions or higher to delete arbitrary media attachments without proper authorization. This can result in unauthorized removal of media files, impacting website content integrity. There is no indication of confidentiality or availability impact beyond media deletion. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — no official patch or fix is currently referenced. Users should monitor the vendor's advisory for updates and apply any official fixes once available. Until then, restrict Contributor-level access to trusted users only and consider disabling or limiting use of the affected REST API endpoint if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-11-06T21:04:39.818Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6918143b93cc35e7aa3af0eb
Added to database: 11/15/2025, 5:48:43 AM
Last enriched: 4/9/2026, 9:02:26 PM
Last updated: 5/10/2026, 2:12:07 AM
Views: 218
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.