WPFront User Role Editor Cross-Site Request Forgery Vulnerability Allowing Privilege Escalation

Vulnerability

A Cross-Site Request Forgery (CSRF) vulnerability has been identified in the WPFront User Role Editor plugin for WordPress, affecting all versions through 4.2.1. The issue arises from inadequate nonce validation in the whitelist_options() function, allowing unauthenticated attackers to manipulate the default role option. This could be exploited for privilege escalation if an attacker tricks a site administrator into clicking a link or performing a similar action. The vulnerability is only applicable to multisite WordPress instances.

Impact

Exploitation of this vulnerability could lead to unauthorized changes in user roles, allowing attackers to gain elevated privileges on the affected WordPress site.

Reproduction

To reproduce this vulnerability, an attacker must send a forged request to a WordPress site with the WPFront User Role Editor plugin installed, version 4.2.1 or earlier. The request should target the whitelist_options() function without a valid nonce, which can be achieved by tricking an administrator into clicking a link that initiates the request. This can be done through email, social media, or other messaging platforms.

Remediation

Users are advised to update the WPFront User Role Editor plugin to version 4.2.2 or later.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
3.4
impact
5.0
exploitability
7.6
remediation
7.7
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.