Skip to main content

Photo Gallery by Ays CVE-2026-135495

| EUVDEUVD-2026-140413 MEDIUM
Missing Authorization (CWE-862)
2026-12-01 VulnCheck GHSA-265g-q69x-f96c
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify site running Photo Gallery by Ays <6.9.4
  2. Exploit
    Send unauthenticated AJAX request to ays_gpg_author_user_search
  3. Execution
    Search parameter passed to get_users() without authorization
  4. Impact
    Enumerate usernames and email addresses

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special conditions - remote unauthenticated exploitation against default configurations of the Photo Gallery by Ays plugin for WordPress, provided the plugin (version before 6.9.4) is installed and active; the vulnerable wp_ajax_nopriv_ handler for ays_gpg_author_user_search is registered for logged-out visitors regardless of plugin settings, with no nonce, capability, or login requirement. The practical limiting factor is impact scope rather than access: exploitation yields only user-account enumeration (usernames/emails), not authentication, data modification, or code execution, so its value is as reconnaissance that amplifies follow-on credential and phishing attacks rather than as a standalone compromise.

Impact

This is a medium-severity information-disclosure flaw whose real-world priority is modest, consistent with the vendor-ecosystem 'this_month' decision label rather than an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms the attack is network-based, low-complexity, and requires no authentication or user interaction, so the barrier to triggering it is trivially low. However, impact is deliberately narrow: only VC:L (low confidentiality) with VI:N/VA:N, meaning the flaw leaks data (WordPress usernames/email addresses) but does not alter data, execute code, or affect availability. Not in CISA KEV, so this is not confirmed actively exploited. No EPSS score was provided in the input, so exploitation probability cannot be quantified here - a notable gap given that enumeration flaws are often probed by automated scanners. No confirmed working exploit code is referenced (the VulnCheck entry is an advisory, and the plugins.trac links are source-code locations, not an exploit). Net assessment: a genuine but lower-tier issue - valuable to attackers as reconnaissance that feeds credential-stuffing, brute-force, and phishing, but not a direct site-compromise vector. The CVSS network/no-auth signals and the description align cleanly; no contradictions were found.

Exploit ScenarioDerived

A remote, unauthenticated attacker sends a crafted POST request to admin-ajax.php invoking the ays_gpg_author_user_search action with a chosen search term; because the wp_ajax_nopriv_ handler passes the parameter straight to get_users() with no nonce, capability, or login check, the response reveals matching WordPress user accounts. The attacker iterates to enumerate all users or confirm whether a specific username/email exists, then uses the harvested list to seed credential-stuffing, brute-force, or targeted phishing. No public exploit identified at time of analysis, though the technique is trivial to script.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

User account enumeration in the Photo Gallery by Ays plugin for WordPress before 6.9.4 allows unauthenticated remote visitors to list site users and confirm whether specific usernames or email addresses exist by calling the ays_gpg_author_user_search AJAX action. The handler is registered as wp_ajax_nopriv_ and performs no nonce, capability, or login check before passing the search term to get_users(); the resulting disclosure is limited to account identifiers (usernames/emails), not authentication, data modification, or code execution. Severity is medium (vendor CVSS 4.0 score 6.9; independently assessed as CVSS 3.1 5.3-style confidentiality-only impact, AV:N/AC:L/PR:N/UI:N/C:L), no public exploit code was identified at time of analysis, and it is not in CISA KEV - the practical risk is reconnaissance that feeds follow-on credential-stuffing and phishing campaigns rather than standalone compromise.

RemediationAI

Vendor-released patch: upgrade the Photo Gallery by Ays plugin to version 6.9.4 or later; this is the complete fix and the plugin changelog at https://wordpress.org/plugins/gallery-photo-gallery/#developers lists the release, with the corrected handler visible at https://plugins.trac.wordpress.org/browser/gallery-photo-gallery/tags/6.9.4/admin/class-gallery-photo-gallery-admin.php#L1114. Because the flaw is an unauthenticated wp_ajax_nopriv_ endpoint, an interim virtual patch is to block or challenge requests to /wp-admin/admin-ajax.php where the action parameter equals ays_gpg_author_user_search, at the WAF, reverse proxy, or web server level - the trade-off is that legitimate front-end features of this plugin that rely on the same AJAX action will break for anonymous visitors until the rule is removed after upgrading, and rules keyed only on admin-ajax.php without the action match will disrupt unrelated plugins. Deactivating the plugin until the update can be applied removes the exposure entirely but also removes the gallery functionality from the site. Given the medium-severity, enumeration-only impact and the 'this_month' priority rather than an emergency, schedule the 6.9.4 upgrade in the current patch cycle; if usernames may already have been harvested, review logs for repeated admin-ajax.php requests carrying the ays_gpg_author_user_search action and consider tightening login protections against credential-stuffing.

Affected VersionsENISA

Photo Gallery by Ays 0 <6.9.4

Affected Packages

euvd photo_gallery_by_ays fix: 6.9.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

WordPress plugins expose AJAX endpoints by registering hooks: wp_ajax_<action> for authenticated users and wp_ajax_nopriv_<action> for logged-out visitors. Photo Gallery by Ays registered the ays_gpg_author_user_search action on the nopriv side, meaning any anonymous request to admin-ajax.php with that action name reaches the handler regardless of plugin configuration; the hook registration is visible in includes/class-gallery-photo-gallery.php around line 205 of the 6.9.1 tag, and the handler itself sits in admin/class-gallery-photo-gallery-admin.php around line 1113. The root cause is CWE-862 (Missing Authorization): the handler omitted a nonce check, a current_user_can() capability check, and any is_user_logged_in() gate, then took the attacker-supplied search parameter and handed it straight to WordPress's get_users() query API. Because get_users() matches against user_login, user_email, user_nicename and display_name, the response leaks account identifiers and confirms existence of specific addresses, which is a valuable precursor for password spraying, phishing targeting, and username harvesting. The fix in 6.9.4 (admin/class-gallery-photo-gallery-admin.php line 1114) adds the missing authorization gating to that AJAX action. Impact is confined to information disclosure - there is no path to privilege escalation, data tampering, or remote code execution described in the available sources - and exploitation is not dependent on non-default settings, though the plugin must be installed and active.

Know when Photo Gallery By Ays gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.3 MEDIUM

Unauthenticated network request to a nopriv AJAX handler gives AV:N/AC:L/PR:N/UI:N; impact is limited to disclosing user identities, so C:L and I:N/A:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.5%
Top 54% exploitable
Prevalence
Low
mid-tier WordPress gallery plugin, modest install base vs top galleries
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy