Unauthenticated Arbitrary Media Deletion in Multi Uploader for Gravity Forms
The Multi Uploader for Gravity Forms WordPress plugin is vulnerable to unauthenticated arbitrary media deletion via missing capability checks and exposed CSRF nonces.
The Multi Uploader for Gravity Forms plugin for WordPress (versions 1.1.8 and below) contains a critical vulnerability (CVE-2026-5581) that allows unauthenticated attackers to delete any file from the WordPress media library. The flaw exists within the plupload_ajax_delete_file() function, which is improperly registered with the wp_ajax_nopriv_gfmu_delete_file hook. Furthermore, the security nonce intended to prevent Cross-Site Request Forgery (CSRF) is inadvertently exposed within the GFMU_options JavaScript object on any public-facing page containing a multi-uploader form. Because the function lacks adequate capability checks, an unauthenticated attacker can discover the valid nonce and craft an AJAX request to delete arbitrary attachments by their ID. This vulnerability poses a high risk to WordPress site integrity, as it enables the mass destruction of media assets.
Attack Chain
- Attacker browses public-facing pages on the target WordPress site to identify presence of the plugin.
- Attacker inspects page source or JavaScript execution context to extract the
GFMU_optionsobject. - Attacker parses the JavaScript object to obtain the active CSRF nonce value.
- Attacker identifies target attachment IDs (e.g., via brute force or sequential estimation if ID enumeration is possible).
- Attacker crafts an HTTP POST request targeting the
/wp-admin/admin-ajax.phpendpoint. - Attacker includes the
actionparameter set togfmu_delete_fileand provides the valid nonce and target attachment ID. - The vulnerable plugin function
plupload_ajax_delete_file()executes the deletion without verifying the user's administrative privileges. - The specified media file is permanently removed from the WordPress media library and storage.
Impact
Successful exploitation results in the permanent loss of media library assets. This can disrupt website operations, destroy historical content, and force administrators to rely on backups for restoration. The vulnerability is highly accessible as it does not require prior authentication or elevated permissions.
Recommendation
Prioritize the following actions to mitigate this vulnerability:
- Update the "Multi Uploader for Gravity Forms" plugin to the latest version immediately.
- Implement Web Application Firewall (WAF) rules to restrict access to the
/wp-admin/admin-ajax.phpendpoint for actions related to file deletion from unauthenticated sessions. - Monitor web server logs for suspicious POST requests to
admin-ajax.phpinvolving thegfmu_delete_fileaction, especially those lacking associated administrative cookies.
Immediate actions
Deploy the Sigma rule to monitor for exploitation attempts
Mitigations
Upgrade Multi Uploader for Gravity Forms to version > 1.1.8
CVE-2026-5581
Detection coverage 1
Detect CVE-2026-5581 Exploitation - Unauthorized Media Deletion Attempt
highDetects unauthenticated AJAX requests to delete media files using the vulnerable Multi Uploader for Gravity Forms action.
Detection queries are available on the platform. Get full rules →