Security Alert Summary
The Gallery by FooGallery plugin contains a missing capability check in the ajax_get_gallery_info() function in all versions up to and including 3.1.9. Authenticated users with Subscriber-level access or higher can enumerate gallery IDs to retrieve metadata (name, image count, thumbnail URL) for private, draft, and password-protected galleries.
CVE Details
- CVE ID: CVE-2025-15524
- Affected component: The Gallery by FooGallery plugin for WordPress
- Affected versions: All versions up to and including 3.1.9 (as stated in the CVE entry)
- Published: February 11, 2026 at 2:15:58 AM UTC
- Last modified: February 11, 2026 at 3:27:26 PM UTC
- CVSS v3.1: Base Score 4.3, Medium —
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Authentication / privileges / user interaction: Requires authenticated user with low privileges (Subscriber-level or above); no user interaction required (UI:N).
- Primary impact: Confidentiality: Low; Integrity: None; Availability: None
- CWE / weakness: CWE-862 (Missing Authorization)
Technical Details
The vulnerability is caused by a missing capability check on the ajax_get_gallery_info() function. Because the function does not verify whether the calling user has permission to view a given gallery, an authenticated attacker with Subscriber-level access or higher can query that function while enumerating gallery IDs and obtain metadata fields such as the gallery name, image count, and thumbnail URL for galleries that are private, draft, or password-protected.
The issue arises from insufficient authorization controls (CWE-862) in the named AJAX handler. The impact is limited to disclosure of gallery metadata; the CVE entry does not indicate modification or deletion of content, nor does it indicate compromise of broader site integrity or availability.
How This Could Impact Your Website
Consider a site with multiple users: the site owner, an editor who manages gallery content, and external contributors who publish submissions. An authenticated contributor or contractor who only has Subscriber-level access could enumerate gallery IDs and learn which private or draft galleries exist and basic metadata about them (for example, names and thumbnail images). This information could reveal unpublished projects, internal campaign assets, or content intended to remain private.
Practical consequences include a greater ability for an attacker to craft targeted social engineering or phishing messages aimed at staff or contributors based on knowledge of private galleries. While the vulnerability does not indicate content modification or full site takeover, the disclosure of gallery metadata can expose sensitive workflow or project details.
If you’re unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review.
Recommended Actions
- Update the affected plugin as soon as a patched version is available. (The CVE entry states affected versions through 3.1.9; no fixed version is specified in the CVE.)
- Review and reduce unnecessary user roles, especially Subscriber-level accounts that do not require access to private content.
- Enforce strong passwords and enable two-factor authentication for editors and administrators.
- Remove unused or unmaintained plugins from your site.
- Monitor site activity and logs for unusual behavior, especially unexpected access to gallery-related endpoints or repeated enumeration attempts.
If you’d like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.