# Iptanus File Upload <= 5.3.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Webcam Buttons SVG Injection

- **ID:** WPSEC-2026-4560
- **Plugin:** Iptanus File Upload (`wp-file-upload`), https://wordpress.org/plugins/wp-file-upload/
- **Affected versions:** from 3.8.0 before 5.3.4
- **Fixed in:** 5.3.4 (Update to 5.3.4 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-12-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-file-upload
- **Fix released:** 2026-12-02
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4560/

## Description

The Iptanus File Upload plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the uploader's webcam buttons graphic in versions 3.8.0 up to, and including, 5.3.3. This is due to the webcam button initialization looking up the buttons SVG placeholder by a document-wide element id (in the default template and in the MaterialUI template when not in shadow-dom mode) and inlining whatever SVG that element references, without checking that it is the plugin's own buttons image. This makes it possible for authenticated attackers, with contributor-level access and above, to place an element with the same id that points to a crafted SVG in a post containing a webcam-enabled uploader. Arbitrary web scripts then run whenever a user opens that page.

## References

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

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

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.
