CVE-2026-135495

Photo Gallery by Ays WordPress Plugin before 6.9.4 User Enumeration via AJAX Action

Published Dec 1, 2026 CVSS 4.0 · 6.9 Medium EPSS n/a KEV · Not listed
Description
Photo Gallery by Ays plugin for WordPress before 6.9.4 contains a missing authorization vulnerability in the ays_gpg_author_user_search AJAX action that allows unauthenticated attackers to enumerate WordPress user accounts. Attackers can exploit the unauthenticated wp_ajax_nopriv_ handler, which lacks nonce, capability or login checks and passes the search parameter directly to get_users(), to list all users or confirm existence of specific usernames or email addresses.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Photo Gallery by Ays to version 6.9.4 or later.
  • If an immediate upgrade is not possible, remove or restrict the wp_ajax_nopriv_ays_gpg_author_user_search endpoint from public access or add a nonce/capability check to enforce authentication.
  • Implement monitoring or rate limiting on AJAX requests to detect and throttle repeated enumeration attempts.

Generated by OpenCVE AI on December 1, 2026 at 23:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Photo Gallery by Ays plugin for WordPress before 6.9.4 contains a missing authorization vulnerability in the ays_gpg_author_user_search AJAX action that allows unauthenticated attackers to enumerate WordPress user accounts. Attackers can exploit the unauthenticated wp_ajax_nopriv_ handler, which lacks nonce, capability or login checks and passes the search parameter directly to get_users(), to list all users or confirm existence of specific usernames or email addresses.
Title Photo Gallery by Ays WordPress Plugin before 6.9.4 User Enumeration via AJAX Action
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Dec 1, 2026, 4:24 PM
Reserved
Nov 23, 2026, 7:39 PM
Status
Received
Published
Dec 1, 2026, 5:17 PM
Modified
Dec 1, 2026, 5:17 PM