# UsersWP <= 1.2.81 - Unauthenticated Missing Authorization to Limited (Image) File Upload to Media Library

- **ID:** WPSEC-2026-3592
- **Plugin:** UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP (`userswp`), https://wordpress.org/plugins/userswp/
- **Affected versions:** all versions before 1.2.82
- **Fixed in:** 1.2.82 (Update to 1.2.82 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-862
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-20)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/userswp
- **Fix released:** 2026-11-19
- **Published:** 2026-11-20
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3592/

## Description

The UsersWP plugin for WordPress is vulnerable to unauthorized media uploads in all versions up to, and including, 1.2.81 due to the allow_all_users_profile_uploads() 'user_has_cap' filter granting the 'upload_files' capability whenever the request contains the 'uwp_profile_upload' POST parameter, without checking that the user is logged in or verifying a nonce. This makes it possible for unauthenticated attackers to upload JPG, GIF and PNG image files to the site's media library, for example through the REST API media endpoint.

## References

- https://wpsec.com/vuln/WPSEC-2026-3592/
- https://plugins.svn.wordpress.org/userswp/tags/1.2.82/
- https://wordpress.org/plugins/userswp/

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

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.
