{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-3997",
 "modified": "2026-11-26T14:03:01Z",
 "published": "2026-11-26T14:03:01Z",
 "summary": "Photo Gallery by Ays <= 6.9.3 - Missing Authorization to Unauthenticated User Enumeration via ays_gpg_author_user_search AJAX Action",
 "details": "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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "gallery-photo-gallery"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "5.0.6"
      },
      {
       "fixed": "6.9.4"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 5.0.6 before 6.9.4"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-3997/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/gallery-photo-gallery/tags/6.9.4/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/gallery-photo-gallery/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-3997/",
  "cwe_ids": [
   "CWE-862"
  ],
  "vulnerability_type": "NO AUTHORISATION",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
