Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconRegister or compromise Subscriber account
-
DeliveryAuthenticate to WordPress site
-
ExploitPOST to admin-ajax.php ayi action with type=wp_capabilities, postid=administrator
-
Installupdate_user_meta writes administrator role to attacker's wp_capabilities
-
C2Next request grants Administrator capabilities
-
ExecuteInstall malicious plugin for code execution
-
ImpactFull site takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) the Events Calendar for GeoDirectory plugin to be installed and active in a version at or below 2.3.28, (2) an authenticated session at Subscriber level or higher - consistent with the CVSS PR:L - which on WordPress sites that permit open user registration is effectively unauthenticated since anyone can self-register, (3) network access to wp-admin/admin-ajax.php to invoke the ajax_ayi_action() handler, and (4) the ability to set the POST parameters type=wp_capabilities and postid=administrator (or any equivalent role string). No user interaction by an administrator is required (UI:N), no non-default plugin configuration is needed, and the attack is platform-independent across WordPress installations. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) indicates network-reachable, low-complexity exploitation requiring only low privileges and no user interaction - consistent with the description's Subscriber-level prerequisite. There is no public exploit identified at time of analysis and the CVE is not in CISA KEV, so this is not confirmed actively exploited; however, the technical primitive is trivial (a single AJAX POST writing a known meta key) and the Wordfence write-up provides enough detail to be reproduced quickly, so practical exploitation risk is high once the advisory propagates. EPSS data was not provided in the input and cannot be cited. The realistic priority depends on exposure: any WordPress site running this plugin that permits open user registration at Subscriber level (a common WordPress default) is one HTTP request away from full site takeover, which makes this a high-priority patch despite the absence of in-the-wild reports. |
| Exploit ScenarioDerived | An attacker registers a Subscriber account on a target WordPress site running Events Calendar for GeoDirectory ≤ 2.3.28 (or compromises any existing low-privilege account), then issues a single authenticated POST to admin-ajax.php invoking the ayi action with type=wp_capabilities and postid=administrator. WordPress writes the crafted capabilities array into the attacker's user meta, and on the next request WP_User::get_role_caps() promotes the attacker to Administrator, allowing plugin/theme installation, arbitrary PHP execution via uploaded plugins, and full site takeover. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 09, 2026
Privilege escalation in the Events Calendar for GeoDirectory WordPress plugin (versions up to and including 2.3.28) allows authenticated Subscriber-level users to elevate to Administrator by abusing the ajax_ayi_action() AJAX handler, which writes attacker-controlled POST parameters directly into the wp_capabilities user meta key. The flaw stems from insufficient input filtering (strip_tags/esc_sql with no allow-list) on the type and postid fields before they reach update_user_meta(), enabling an attacker to set their own role to administrator. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.
RemediationAI
Upstream fix available (commit/changeset 3533585 on plugins.trac.wordpress.org for events-for-geodirectory); a released patched version greater than 2.3.28 is not independently confirmed from the provided data, so administrators should update to the latest available release of Events Calendar for GeoDirectory beyond 2.3.28 as published on the WordPress.org plugin repository and verify the changeset at https://plugins.trac.wordpress.org/changeset?reponame=&old=3533585%40events-for-geodirectory&new=3533585%40events-for-geodirectory is included. If immediate patching is not possible, disable or fully remove the plugin (the AJAX handler is loaded for any authenticated request, so deactivation eliminates the primitive), tighten user-registration settings so untrusted users cannot obtain Subscriber accounts, and use a WAF rule to block POST requests to the admin-ajax.php action handling ayi where the type parameter equals wp_capabilities or the postid parameter equals administrator - note that blocking only those literal values can be bypassed if other reserved meta keys (for example, wp_user_level) are similarly writable, so prefer plugin removal over rule-based mitigation. Also audit existing users for unexpected administrator capabilities, since exploitation leaves a persistent role grant in user meta.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerable code path lives in includes/class-geodir-event-ayi.php within the events-for-geodirectory plugin (CPE cpe:2.3:a:stiofansisland:events_calendar_for_geodirectory). The ajax_ayi_action() handler accepts user-supplied $_POST['type'] and $_POST['postid'] and forwards them to update_ayi_data(), which calls update_user_meta($current_user->ID, $rsvp_args['type'], $posts). Because the sanitization is limited to strip_tags(esc_sql()) - designed to neutralize HTML and SQL metacharacters but not to constrain values to a safe allow-list - the meta key parameter can be set to the WordPress reserved key wp_capabilities. WordPress core (WP_User::get_role_caps()) reads this meta on every request and treats any array key as an active role, so writing ['administrator' => 'administrator'] grants full Administrator capabilities. The root cause class is CWE-269 (Improper Privilege Management), specifically a missing allow-list on a meta-key write primitive that intersects with a privileged identity store.
Know when Events Calendar For Geodirectory gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Events Calendar for GeoDirectory plugin for WordPress is vulnerable to Privilege Escalation in versions up to and including 2.3.28. This is due to the ajax_ayi_action() handler only applying strip_tags(esc_sql()) - with no allow-list - to the attacker-controlled $_POST['type'] and $_POST['postid'] values before forwarding them to update_ayi_data(), which calls update_user_meta($current_user->ID, $rsvp_args['type'], $posts). By passing type=wp_capabilities and postid=administrator, an attacker writes ['subscriber'=>true,'administrator'=>'administrator'] into their own wp_capabilities user meta; WP_User::get_role_caps() then treats the 'administrator' array key as an active role on the next request. This makes it possible for authenticated attackers, with Subscriber-level access and above, to elevate their privileges to Administrator.
Articles & Coverage 2
Executive ViewAI
The Events Calendar for GeoDirectory WordPress plugin (versions through 2.3.28) contains a privilege escalation vulnerability allowing authenticated subscribers to gain administrative control through improper input validation in an AJAX handler. Any user with basic Subscriber-level access can exploit this vulnerability to seize full administrative access to the WordPress installation, threatening site integrity and data security across affected organizations.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable the plugin entirely if not operationally critical; (2) Implement Web Application Firewall rules to block POST requests containing action=ayi_action parameter on wp-admin/admin-ajax.php; (3) Enforce principle of least privilege-minimize Subscriber role assignments to only essential trusted users; (4) Enable comprehensive WordPress audit logging for all user meta modifications (wp_usermeta updates); (5) Implement IP-based access restrictions on AJAX handlers if infrastructure supports allowlisting; (6) Conduct monthly reviews of user privilege levels for unauthorized escalations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
EUVD-2026-35375
GHSA-j857-hxgm-cvxf
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB