Description
The MaxiBlocks Builder plugin for WordPress is vulnerable to arbitrary media file deletion due to insufficient file ownership validation on the 'maxi_remove_custom_image_size' AJAX action in all versions up to, and including, 2.1.8. This makes it possible for authenticated attackers, with Author-level access and above, to delete arbitrary files in the wp-content/uploads directory, including files uploaded by other users and administrators.
Problem types
CWE-639 Authorization Bypass Through User-Controlled Key
Product status
Any version
Timeline
| 2026-04-16: | Vendor Notified |
| 2026-04-23: | Disclosed |
Credits
Teerachai Somprasong
References
www.wordfence.com/...-56d0-4c34-a93c-56198fe91b36?source=cve
plugins.trac.wordpress.org/...core/class-maxi-image-crop.php
plugins.trac.wordpress.org/...core/class-maxi-image-crop.php
github.com/...ommit/3dff1db57bfb4e6c14fa7fd42037178d1d0ce199
plugins.trac.wordpress.org/...i-blocks&sfp_email=&sfph_mail=
plugins.trac.wordpress.org/...core/class-maxi-image-crop.php