CVE-2026-89406 Details
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.
A vulnerability exists in the Modula Image Gallery – Photo Grid & Video Gallery plugin for WordPress, in versions through 3.0.1. The issue allows unauthorized disclosure of private gallery contents. This vulnerability arises because the 'Modula_Meta::add_metas()' function is triggered on every frontend request. It retrieves posts using the 'modula_gallery_id' parameter without checking the gallery's status or the requester's permissions to access it. The vulnerability is exacerbated by a flaw in the input validation, which fails to correctly assess the 'modula_gallery_id' parameter. As a result, unauthenticated attackers can enumerate private gallery posts and their attachments, extracting information such as the image's title, description, dimensions, and original upload URL through Open Graph/Twitter meta tags. This information can then be used to directly download the private images.
Users are advised to update the Modula Image Gallery plugin to version 3.0.2 or a newer patched version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 25, 2026CISA-ADP
Assessed Sep 25, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Modula Image Gallery | <= 3.0.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 25, 2026 | CVE Modified | CISA-ADP |
| Sep 25, 2026 | New CVE Received | [email protected] |
Volerion