CVE-2025-12158
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-12158 is a critical privilege escalation vulnerability in the Simple User Capabilities plugin for WordPress, caused by a missing capability check on the suc_submit_capabilities() function. It affects all versions of the plugin up to and including version 1.0, allowing unauthenticated remote attackers to elevate any user account to administrator. The vulnerability was published on November 4, 2025, and was reported by Wordfence. It carries a CVSS v3.1 base score of 9.8 (Critical) (Wordfence, NVD).

Technical details

The root cause is CWE-862 (Missing Authorization): the suc_submit_capabilities() function in the plugin's user_access.php file does not perform any capability or authentication check before processing role-change requests (NVD, Wordfence). Because no nonce verification or privilege check is enforced, any unauthenticated HTTP request can invoke this function and assign administrator-level roles to arbitrary user accounts. The attack vector is network-based, requires no authentication, no user interaction, and low complexity, making it trivially exploitable against any WordPress site running the affected plugin version (ZeroPath).

Impact

Successful exploitation grants an unauthenticated attacker full administrative control over the affected WordPress site. This enables complete site compromise, including modification or deletion of content, installation of malicious plugins or backdoors, theft of sensitive user data, and site defacement. The attacker can also leverage administrator access for lateral movement within the hosting environment or to establish persistent access (Wordfence, Avertium).

Exploitability

As of the time of reporting, no public proof-of-concept exploit code has been confirmed, and there is no evidence of active in-the-wild exploitation (Feedly). The EPSS score is approximately 0.052%, indicating a currently low but non-negligible probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, the critical CVSS score and zero-authentication requirement make it a high-priority target if exploitation tooling is developed (Wordfence).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Simple User Capabilities plugin version 1.0 using tools like WPScan, Shodan, or by checking publicly accessible plugin metadata at /wp-content/plugins/simple-user-capabilities/.
  2. Enumerate target user accounts: Use the WordPress REST API (/wp-json/wp/v2/users) or login page enumeration to identify existing user account IDs or usernames on the target site.
  3. Craft malicious HTTP request: Send an unauthenticated POST request to the WordPress AJAX endpoint (e.g., wp-admin/admin-ajax.php or the relevant action hook) invoking the suc_submit_capabilities() function, specifying a target user ID and the desired role (e.g., administrator).
  4. Escalate privileges: The function processes the request without any authorization check, assigning administrator role to the specified user account.
  5. Achieve full site control: Log in with the now-elevated account to gain full WordPress administrative access, enabling installation of backdoors, data exfiltration, or further compromise (ZeroPath, Wordfence).

Indicators of compromise

  • Logs: WordPress access logs showing unauthenticated POST requests to wp-admin/admin-ajax.php with actions related to suc_submit_capabilities; unexpected role-change entries in the WordPress database audit trail.
  • File System: Presence of newly installed plugins or themes not authorized by legitimate administrators; unexpected PHP files (web shells) in the wp-content/ directory.
  • WordPress Admin: Unexpected user accounts with administrator role, or existing non-admin accounts suddenly elevated to administrator in the WordPress Users dashboard.
  • Network: Unusual POST requests from unknown IPs targeting WordPress AJAX endpoints, particularly with parameters referencing user role assignment.

Mitigation and workarounds

Administrators should immediately update the Simple User Capabilities plugin beyond version 1.0 to a patched release if available, or disable and remove the plugin entirely until a fix is confirmed (Wordfence, Avertium). All WordPress user accounts should be audited immediately for unauthorized privilege changes, and any suspicious administrator accounts should be removed. Implementing a web application firewall (WAF) — such as Wordfence — can help block exploitation attempts while a patch is applied.

Community reactions

Wordfence published the vulnerability in their threat intelligence database and included it in their weekly WordPress vulnerability report for November 3–9, 2025 (Wordfence Blog). Avertium issued a flash notice highlighting the critical nature of the flaw and recommending immediate remediation (Avertium). Community aggregators including VulnDB, CIRCL, and CVEFeed.io tracked the disclosure, and ZeroPath published a dedicated technical blog post shortly after the CVE was published (ZeroPath).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-16974MEDIUM6.4
  • kirki
NoYesAug 11, 2026
CVE-2026-14549NONEN/A
  • lingotek-translation
NoNoAug 11, 2026
CVE-2026-14548NONEN/A
  • lingotek-translation
NoNoAug 11, 2026
CVE-2026-19089NONEN/A
  • product-input-fields-for-woocommerce
NoYesAug 10, 2026
CVE-2026-19077NONEN/A
  • copy-delete-posts
NoYesAug 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management