Description
The WPFront User Role Editor plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 4.2.1. This is due to missing or incorrect nonce validation on the whitelist_options() function. This makes it possible for unauthenticated attackers to update the default role option that can be leveraged for privilege escalation via a forged request granted they can trick a site administrator into performing an action such as clicking on a link. This is only exploitable on multisite instances.
Problem types
CWE-352 Cross-Site Request Forgery (CSRF)
Product status
Any version
Timeline
| 2025-04-07: | Disclosed |
Credits
Matthew Rollings
Brian Sans-Souci
References
www.wordfence.com/...-714e-474c-87e8-ecbbdfabd550?source=cve
plugins.trac.wordpress.org/...s/users/class-user-profile.php
plugins.trac.wordpress.org/...s/users/class-user-profile.php
wordpress.org/plugins/wpfront-user-role-editor/
plugins.trac.wordpress.org/changeset/3266542/