# Iptanus File Upload <= 5.3.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes

- **ID:** WPSEC-2026-3781
- **Plugin:** Iptanus File Upload (`wp-file-upload`), https://wordpress.org/plugins/wp-file-upload/
- **Affected versions:** all versions before 5.3.2
- **Fixed in:** 5.3.2 (Update to 5.3.2 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **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-3781/

## Description

The Iptanus File Upload plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's shortcode attributes, including userdata field labels and options, in all versions up to, and including, 5.3.1. This is due to string attribute values being placed into an inline JavaScript object using only esc_html(), which does not escape backslashes, and userdata radio and dropdown items being inserted into the page with innerHTML. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## References

- https://wpsec.com/vuln/WPSEC-2026-3781/
- 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-3781/

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.
