CVE-2025-54049
Custom API for WP <= 4.2.2 - Authenticated (Subscriber+) Privilege Escalation
highIncorrect Privilege Assignment
8.8
CVSS Score
8.8
CVSS Score
high
Severity
4.2.3
Patched in
8d
Time to patch
Description
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.
CVSS Vector Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAttack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
High
Confidentiality
High
Integrity
High
Availability
Technical Details
Affected versions
<=4.2.2PublishedJuly 28, 2025
Last updatedAugust 4, 2025
Affected plugincustom-api-for-wp
Check if your site is affected.
Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.