Technical impact
The vulnerability is a missing authorization flaw in the ays_gpg_author_user_search AJAX action of the Photo Gallery by Ays WordPress plugin. An unauthenticated attacker can call the wp_ajax_nopriv_ays_gpg_author_user_search endpoint, which lacks or does not validate a nonce, capability, or login status. The action directly feeds a supplied search parameter into WordPress’s get_users() call, enabling enumeration of all user accounts or confirmation of specific usernames or email addresses. This flaw allows an attacker to gather user identity information, potentially facilitating social engineering or credential harvesting. The weakness is categorized as CWE‑862, Missing Authorization.
Affected Systems
WordPress sites that have installed the Photo Gallery by Ays plugin prior to version 6.9.4 are affected. Such sites have the vulnerable AJAX endpoint exposed, and any visitor can trigger it to enumerate existing user accounts. The issue exists regardless of the privacy settings of the gallery, and it only requires the plugin to be present and active.
Risk and Exploitability
The CVSS score of 6.9 classifies the vulnerability as moderate, and the EPSS score is currently unavailable, but the lack of authentication and the simple URL-based request make exploitation trivially easy for an attacker. The vulnerability is not listed in the CISA KEV catalog. An unauthenticated attacker can enumerate users by simply visiting the AJAX endpoint with suitable query parameters, making the attack vector purely web-based and exploitable through normal HTTP requests.