Home

Description

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.

PUBLISHED Reserved 2026-06-08 | Published 2026-06-09 | Updated 2026-06-09 | Assigner Wordfence




HIGH: 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-269 Improper Privilege Management

Product status

Default status
unaffected

Any version
affected

Timeline

2026-06-08:Vendor Notified
2026-06-08:Disclosed

Credits

Nguyen Hung finder

References

www.wordfence.com/...-1fe4-4077-ad9d-a07660133e91?source=cve

plugins.trac.wordpress.org/...des/class-geodir-event-ayi.php

plugins.trac.wordpress.org/...des/class-geodir-event-ayi.php

plugins.trac.wordpress.org/...irectory&sfp_email=&sfph_mail=

cve.org (CVE-2026-11616)

nvd.nist.gov (CVE-2026-11616)

Download JSON