# Iptanus File Upload <= 5.3.1 - Unauthenticated Arbitrary File Deletion and File Overwrite via Option Item Name Injection

- **ID:** WPSEC-2026-3779
- **Plugin:** Iptanus File Upload (`wp-file-upload`), https://wordpress.org/plugins/wp-file-upload/
- **Affected versions:** from 5.3.0 before 5.3.2
- **Fixed in:** 5.3.2 (Update to 5.3.2 or later.)
- **Severity:** High 7.4 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H)
- **Weakness:** CWE-73
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-24)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-file-upload
- **Fix released:** 2026-11-23
- **Published:** 2026-11-24
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3779/

## Description

The Iptanus File Upload plugin for WordPress is vulnerable to arbitrary file deletion and file overwrite via the 'sid' parameter of the wfu_ajax_action_handshake AJAX action in versions 5.3.0 up to, and including, 5.3.1. This is due to insufficient sanitization of user state item names, which are stored together in one option value between [name] and {name} delimiters. A visitor-supplied sid becomes the item name 'wfu_token_<sid>' and may itself contain those delimiter characters. This makes it possible for unauthenticated attackers to plant forged user state records in their own session, such as file data and consent data records holding arbitrary server paths. When Personal Data handling is enabled, a form sends email notifications and is set not to store user data and files, the plugin then deletes arbitrary files on the server, which can lead to site takeover (for example by deleting wp-config.php). Forged records can also make an upload overwrite a file outside the upload folder.

## References

- https://wpsec.com/vuln/WPSEC-2026-3779/
- https://plugins.svn.wordpress.org/wp-file-upload/tags/5.3.2/
- https://wordpress.org/plugins/wp-file-upload/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3779/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
