CVE-2026-15992 Details
Description
The WP Password Policy plugin for WordPress is vulnerable to Privilege Escalation in all versions up to and including 3.7.1. This is due to missing authorization checks and nonce verification in the `get_user()` function of the `Module_Password_Hint` class, which unconditionally calls `WP_User::set_role()` with the attacker-supplied `role` parameter on any account resolved via `$_POST['user_login']`, without confirming the requesting user holds the capability to assign roles. This makes it possible for authenticated attackers, with subscriber-level access and above, to escalate their own privileges to Administrator by submitting a crafted POST request — with `action` set to `createuser` and `role` set to `administrator` — to the password-reset form endpoint. The vulnerable code path is reachable via the `password_hint` filter hooked during the WordPress password-reset form render, meaning an attacker need only possess a valid password-reset cookie to reach the sink.
A privilege escalation vulnerability has been identified in the WP Password Policy plugin for WordPress, affecting all versions through 3.7.1. The issue arises from inadequate authorization checks and nonce verification in the 'get_user()' function of the 'Module_Password_Hint' class. This function improperly allows the 'WP_User::set_role()' method to be called with a role specified by the attacker, targeting any user identified through the 'user_login' POST parameter. As a result, authenticated users with subscriber-level access or higher can elevate their privileges to Administrator by sending a crafted POST request to the password-reset form endpoint, using 'createuser' as the action and 'administrator' as the role. The vulnerability can be exploited by anyone with a valid password-reset cookie, as the affected code is triggered by a filter applied during the password-reset form rendering.
Users are advised to update the WP Password Policy plugin to version 3.7.2 or a later patched version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 28, 2026CISA-ADP
Assessed Jul 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-269 | Improper Privilege Management | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| WP Password Policy | <= 3.7.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 29, 2026 | CVE Modified | CISA-ADP |
| Jul 28, 2026 | New CVE Received | [email protected] |
Volerion