CVE-2026-135495
MEDIUM
6.9
CVSS 4.0
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.
Affected WordPress components
-
Photo Gallery by Ays – Responsive Image Gallery Plugin · gallery-photo-galleryBefore 6.9.4View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- Ays Pro Photo Gallery by Ays — Before 6.9.4
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.9.1/admin/class-gallery-photo-gallery-admin.php#L1113
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.9.1/includes/class-gallery-photo-gallery.php#L205
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.9.4/admin/class-gallery-photo-gallery-admin.php#L1114
- wordpress.org https://wordpress.org/plugins/gallery-photo-gallery/#developers
- www.vulncheck.com https://www.vulncheck.com/advisories/photo-gallery-by-ays-wordpress-plugin-before-6.9.4-user-enumeration-via-ajax-action
- nvd.nist.gov Official NVD record