Description
The Melapress Role Editor plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.1.1. This is due to a misconfigured capability check on the 'save_secondary_roles_field' function. This makes it possible for authenticated attackers, with Subscriber-level access and above, to assign themselves additional roles including Administrator.
Problem types
CWE-863 Incorrect Authorization
Product status
* (semver)
Timeline
| 2025-12-18: | Vendor Notified |
| 2026-01-22: | Disclosed |
Credits
Sarawut Poolkhet
References
www.wordfence.com/...-8aae-42e5-84d3-ea9b431703f3?source=cve
plugins.trac.wordpress.org/...dmin/ajax/class-admin-ajax.php
plugins.trac.wordpress.org/...-fields/class-user-profile.php
plugins.trac.wordpress.org/changeset/3439348/