Atomic Edge analysis of CVE-2026-134173: The Iptanus File Upload plugin (formerly WordPress File Upload) versions up to 5.3.1 suffer from an unauthenticated arbitrary file deletion vulnerability, rated CVSS 9.1 (Critical). The flaw resides in the plugin’s AJAX handshake and email notification handlers, which allow an unauthenticated attacker to manipulate the plugin’s internal state and trigger deletion of arbitrary files on the server. This can lead to remote code execution by deleting critical files such as wp-config.php or dropping a malicious file via other means.
The root cause is twofold. First, the ‘wfu_ajax_action_handshake’ AJAX action accepts a ‘sid’ parameter that is only sanitized with sanitize_text_field(). This function does not strip the delimiter characters ‘[‘, ‘]’, ‘{‘, or ‘}’ used by the plugin’s option storage format. The plugin stores option items concatenated in a single option value, each wrapped as [item_name]item_value{item_name}. By crafting a ‘sid’ that contains embedded delimiter pairs, an attacker can inject forged records for arbitrary item names into the shared option store. Second, the ‘wfu_ajax_action_send_email_notification’ action is protected only by a nonce that can be freely obtained via the unauthenticated handshake. The handshake also sets a per-session file path list and consent flag, which the notification handler later uses to delete files. The patch adds a function wfu_sanitize_option_item_name() that strips the four delimiter characters from item names on both read and write operations (wfu_get_option_item, wfu_option_item_exists, wfu_update_option_item, wfu_delete_option_item). It also fixes an unrelated XSS in wfu_PHP_array_to_JS_object() and replaces innerHTML with textContent in wfu_template.php.
Exploitation proceeds in two steps. First, an attacker sends a POST request to /wp-admin/admin-ajax.php with action=wfu_ajax_action_handshake and a malicious sid value. The sid is used to build the item name ‘wfu_token_’. By including delimiters in sid, the attacker plants a forged record, for example a filedata_ entry that lists arbitrary file paths, or sets the consent flag. Second, the attacker sends another POST to the same endpoint with action=wfu_ajax_action_send_email_notification, using the nonce obtained from the handshake. This handler reads the forged file list and deletes the specified files. No authentication is required at any stage.
The patch introduces wfu_sanitize_option_item_name() and applies it in all option item access functions. This strips the delimiter characters from item names, preventing an attacker from embedding forged delimiter pairs within their own item name. The handshake’s sid is still sanitized with sanitize_text_field(), but now the resulting item name cannot contain the delimiters, so the forgery is blocked. The notification handler remains nonce-protected, but the nonce is only useful if the attacker can plant a malicious file list, which is no longer possible. The patch also fixes a separate XSS in wfu_PHP_array_to_JS_object() by using wp_json_encode() with JSON_HEX_* flags, and replaces innerHTML with textContent in wfu_template.php to prevent DOM XSS.
If exploited, this vulnerability allows an unauthenticated attacker to delete any file on the WordPress server that is writable by the web server user. This includes wp-config.php, .htaccess, plugin and theme files, and uploads. Deleting wp-config.php can force a reinstallation and potentially allow an attacker to take over the site by redirecting to a malicious setup. Deleting security plugins or .htaccess can expose other vulnerabilities. In some configurations, deletion of files can lead to remote code execution, for example by deleting a .php file that is later recreated with malicious content via a separate upload vulnerability. The impact is complete loss of integrity and availability, and potentially confidentiality.







