Custom API for WP <= 4.2.2 - Authenticated (Subscriber+) Privilege Escalation
2025-07-28 00:00
HiroStrategic Overview
StatusPatched in 4.2.3
Affected PluginCustom API for WP
Affected Version
<= 4.2.2CVSS8.8High
CVE
CVE-2025-54049Vulnerability Overview
The Custom API for WP plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 4.2.2. This is due to the plugin not properly restricting a users ability to set roles. This makes it possible for authenticated attackers, with Subscriber-level access and above, to elevate their privileges.
Technical Analysis
REMEDIATION: Update to version 4.2.3, or a newer patched version --- IDENTIFIER: CWE-266 (Incorrect Privilege Assignment) A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.
External References
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C