Executive brief
UsersWP is a WordPress plugin used to manage user registrations, profiles, and member directories. A security flaw allows users with high-level permissions (such as Editors) to delete the profile pictures or banner images of any other user on the site, including administrators. While this does not grant access to private data, it allows unauthorized modification of user profiles and can be used for site defacement or harassment.
Technical details
The UsersWP plugin for WordPress is vulnerable to an Insecure Direct Object Reference (IDOR) in versions up to and including 1.2.63. The vulnerability exists within the image reset functionality due to missing validation on the 'user_id' parameter. An authenticated attacker with editor-level permissions or higher can manipulate this parameter to clear 'avatar_thumb' or 'banner_thumb' metadata in the 'uwp_usermeta' table for any arbitrary user ID. This allows for the permanent deletion of profile images belonging to other users, including site administrators. The issue was addressed in version 1.2.64 by improving authorization checks and nonce validation.
Affected products
- AyeCode UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP <= 1.2.63
Timeline
- 2026-06-12: patched: Fixed in version 1.2.64 via GitHub commit 0e69f967578904cc26fadd0206270d50b7420298
- 2026-06-18: disclosed: Published on NVD and Wordfence advisory released
References
- https://github.com/AyeCode/userswp/commit/0e69f967578904cc26fadd0206270d50b7420298
- https://plugins.trac.wordpress.org/browser/userswp/tags/1.2.61/includes/class-forms.php
- https://plugins.trac.wordpress.org/browser/userswp/tags/1.2.61/includes/class-forms.php
- https://plugins.trac.wordpress.org/browser/userswp/tags/1.2.61/includes/class-forms.php
- https://plugins.trac.wordpress.org/browser/userswp/tags/1.2.61/includes/class-profile.php
- https://plugins.trac.wordpress.org/browser/userswp/tags/1.2.61/includes/class-userswp.php
- https://plugins.trac.wordpress.org/browser/userswp/tags/1.2.63/includes/class-forms.php