CVE-2025-12157 Simple User Capabilities <= 1.0 - Missing Authorization to Unauthenticated Capability Reset
Unauthenticated attackers can reset any user's capabilities due to a missing authorization check in the Simple User Capabilities WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-12157?
CVE-2025-12157 is a medium-severity missing authorization vulnerability in tanvirahmed1984 Simple User Capabilities, published on 4 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Simple User Capabilities plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the 'wp_ajax_nopriv_reset_capability' AJAX endpoint in all versions up to, and including, 1.0. This makes it possible for unauthenticated attackers to reset any user's capabilities.
Weakness: CWE-862
Which versions are affected by CVE-2025-12157?
How do I fix CVE-2025-12157?
No fix has been published for CVE-2025-12157 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2025-12157 being exploited?
There is no known exploitation of CVE-2025-12157 in the wild and no public exploit code.
Sources
Also known as GHSA-mjm5-cr6q-x25r.