Impact
The Events Calendar for GeoDirectory plugin has a privilege escalation flaw in its AJAX handler. The handler only sanitizes incoming type and postid values with strip_tags(esc_sql()), without an allow‑list, before passing them to update_ayi_data(). An authenticated user can send type=wp_capabilities and postid=administrator, causing the plugin to write a wp_capabilities entry that grants administrator rights to the user. This lets any subscriber‑level or higher user elevate themselves to administrator.
Affected Systems
Affected is the WordPress plugin Events Calendar for GeoDirectory by stiofansisland, versions 2.3.28 and earlier. No other vendors or product versions are mentioned.
Risk and Exploitability
The flaw carries a CVSS score of 8.8, indicating high severity. The EPSS score is not available, and the vulnerability is not listed in CISA KEV. Exploitation requires a logged‑in account with Subscriber privileges or higher, and can be performed by sending a crafted AJAX request that updates the user meta. The lack of an allow‑list and reliance on user‑supplied data mean attackers can easily acquire full administrative control.
OpenCVE Enrichment