Photo Gallery by Ays <= 6.9.3 - Missing Authorization to Unauthenticated User Enumeration via ays_gpg_author_user_search AJAX Action
- ID
- WPSEC-2026-3997
- Plugin
- Photo Gallery by Ays – Responsive Image Gallery (gallery-photo-gallery)
- Affected
- from 5.0.6 before 6.9.4
- Remediation
- Update to 6.9.4 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weakness
- CWE-862
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-26
- Attack surface
- Photo Gallery by Ays on WPSec AttackSurface
- Fix released
- Published
Description
The Photo Gallery by Ays plugin for WordPress is vulnerable to unauthorized access of data via the ays_gpg_author_user_search AJAX action in all versions up to, and including, 6.9.3, due to a missing capability check and nonce verification on the ays_gpg_author_user_search() function, which was also registered for unauthenticated visitors through the wp_ajax_nopriv hook. This makes it possible for unauthenticated attackers to enumerate the site's users, retrieving their user IDs and display names, and to use wildcard searches matched against login names, email addresses and website URLs to infer those values.
References
- https://wpsec.com/vuln/WPSEC-2026-3997/
- https://plugins.svn.wordpress.org/gallery-photo-gallery/tags/6.9.4/
- https://wordpress.org/plugins/gallery-photo-gallery/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS