Description
The Modula Image Gallery – Photo Grid & Video Gallery plugin for WordPress is vulnerable to unauthorized disclosure of private gallery contents in versions up to, and including, 3.0.1. This is due to the Modula_Meta::add_metas() function being hooked to wp_head on every frontend request and looking up any post via get_post( $_GET['modula_gallery_id'] ) without verifying the gallery's post_status or the requester's capability to read it — the gallery-side input guard is bugged (empty('modula_gallery_id') tests a nonempty string literal instead of the GET parameter, so it is always false), the only object validation is a post_type === 'modula-gallery' check, and no is_user_logged_in()/current_user_can('read_post', $gallery_id) check is performed. This makes it possible for unauthenticated attackers to enumerate private modula-gallery posts and their member attachments and recover the image's title, description, dimensions, and original upload URL via Open Graph/Twitter meta tags emitted in the response, which then allows direct unauthenticated download of the original private image bytes.
Published: 2026-09-25
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized Disclosure of Private Gallery Images
Action: Immediate Patch
AI Analysis

Impact

The Modula Image Gallery – Photo Grid & Video Gallery plugin is vulnerable to a lack of authorization checks in the add_metas function, which is executed on every frontend request. Unsurprisingly, the function retrieves a gallery post by reading the query parameters modula_gallery_id and modula_image_id without verifying the post's visibility or whether the requestor has permission to view it. As a result, an unauthenticated user can query private gallery entries, obtain Open Graph and Twitter meta tags that include the image title, description, dimensions and the original upload URL, and thereby download the private image file directly.

Affected Systems

WordPress sites that use the WordPress plugin wpchill Modula Image Gallery – Photo Grid & Video Gallery are affected when the plugin is installed at version 3.0.1 or earlier. No other versions beyond 3.0.1 are mentioned as affected. If you are running the plugin on a production site, determine the exact version being used and verify whether it falls into this range.

Risk and Exploitability

The CVSS score of 7.5 classifies this flaw as a high severity information disclosure vulnerability. The EPSS score is not available, but the issue is not listed in the CISA KEV catalog, implying no known widespread exploitation campaigns. An attacker only needs to target the public site, craft a URL containing modula_gallery_id and optionally modula_image_id, and request the page. No authentication or elevated privileges are necessary, and the exploit does not require any complex prerequisites. The result is direct access to the full unencrypted image file, compromising confidentiality of protected media.

Generated by OpenCVE AI on September 25, 2026 at 08:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Modula Image Gallery plugin to the latest available version where the unauthorized disclosure issue has been fixed, as soon as possible.
  • If an upgrade cannot be performed immediately, remove or disable the Modula_Meta::add_metas hook from wp_head so the plugin no longer emits Open Graph/Twitter meta tags for every page load.
  • Add custom code or a plugin to check the gallery's post_status and enforce current_user_can('read_post', $gallery_id) before allowing the retrieval of meta information, ensuring only authorized users can view private gallery meta tags.

Generated by OpenCVE AI on September 25, 2026 at 08:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 25 Sep 2026 09:00:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wpchill
Wpchill modula Image Gallery – Photo Grid & Video Gallery
Vendors & Products Wordpress
Wordpress wordpress
Wpchill
Wpchill modula Image Gallery – Photo Grid & Video Gallery

Fri, 25 Sep 2026 07:45:00 +0000

Type Values Removed Values Added
Description The Modula Image Gallery – Photo Grid & Video Gallery plugin for WordPress is vulnerable to unauthorized disclosure of private gallery contents in versions up to, and including, 3.0.1. This is due to the Modula_Meta::add_metas() function being hooked to wp_head on every frontend request and looking up any post via get_post( $_GET['modula_gallery_id'] ) without verifying the gallery's post_status or the requester's capability to read it — the gallery-side input guard is bugged (empty('modula_gallery_id') tests a nonempty string literal instead of the GET parameter, so it is always false), the only object validation is a post_type === 'modula-gallery' check, and no is_user_logged_in()/current_user_can('read_post', $gallery_id) check is performed. This makes it possible for unauthenticated attackers to enumerate private modula-gallery posts and their member attachments and recover the image's title, description, dimensions, and original upload URL via Open Graph/Twitter meta tags emitted in the response, which then allows direct unauthenticated download of the original private image bytes.
Title Modula Image Gallery <= 3.0.1 - Missing Authorization to Unauthenticated Private Gallery Image Disclosure via 'modula_gallery_id' and 'modula_image_id' Parameters
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Wordpress Wordpress
Wpchill Modula Image Gallery – Photo Grid & Video Gallery
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-25T13:00:14.389Z

Reserved: 2026-09-11T16:00:10.580Z

Link: CVE-2026-89406

cve-icon Vulnrichment

Updated: 2026-09-25T12:55:48.210Z

cve-icon NVD

Status : Deferred

Published: 2026-09-25T08:16:40.803

Modified: 2026-09-25T14:17:21.630

Link: CVE-2026-89406

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T08:45:17Z

Weaknesses