REST API TO MiniProgram <= 4.6.8 - Authenticated (Subscriber+) Media Attachment Deletion

Missing Authorization
CVE CVE-2023-0551
CVSS 6.4 (Medium)
Publicly Published April 25, 2023
Last Updated September 7, 2023
Researcher Lana Codes


The REST API TO MiniProgram plugin for WordPress is vulnerable to unauthorized modification and loss of data due to a missing capability check on the file_batch_delete_callback() function used to delete uploaded attachments in versions up to, and including, 4.6.8. This makes it possible for authenticated attackers, with minimal permissions such as a subscriber, to delete arbitrary media files on a WordPress site.



1 affected software package

Software Type Plugin
Software Slug rest-api-to-miniprogram (view on
Patched? No
Remediation No known patch available. Please review the vulnerability's details in depth and employ mitigations based on your organization's risk tolerance. It may be best to uninstall the affected software and find a replacement.
Affected Version
  • <= 4.6.8

All the threat data shared in this database is powered by Wordfence Intelligence Enterprise.
Interested in integrating this data into your platform or network?
Contact us now to discuss API access to our Wordfence Intelligence Enterprise Data Feeds.

Inquire Now

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.