CVEvulnerability
CVE-2024-12293
8.8 HIGH
Official page ↗
- Status
- Deferred
- Published
- 2024-12-17
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-352
Description
The User Role Editor plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 4.64.3. This is due to missing or incorrect nonce validation on the update_roles() function. This makes it possible for unauthenticated attackers to add or remove roles for arbitrary users, including escalating their privileges to administrator, via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
Related
Weakness · CWE (1)
- CWE-352 Cross-Site Request Forgery weakness
References
- https://plugins.trac.wordpress.org/browser/user-role-editor/trunk/includes/classes/grant-roles.php#L184 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/user-role-editor/trunk/includes/classes/grant-roles.php#L187 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/changeset/3208193/ plugins.trac.wordpress.org
- https://wordpress.org/plugins/user-role-editor/#developers wordpress.org
- https://www.wordfence.com/threat-intel/vulnerabilities/id/6f359d02-d4ce-4045-9e79-ae0f92b84766?source=cve www.wordfence.com