WordPress Plugin Vulnerabilities
All in One SEO < 4.9.0 - Contributor+ Arbitrary Media Deletion
Description
The plugin is vulnerable to unauthorized arbitrary media attachment deletion due to a missing authorization check. 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.
Affects Plugins
References
Classification
Type
NO AUTHORISATION
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
shark3y
Verified
No
WPVDB ID
Timeline
Publicly Published
2025-11-14 (about 5 months ago)
Added
2025-11-14 (about 5 months ago)
Last Updated
2025-11-14 (about 5 months ago)