Modula Image Gallery <= 3.0.1 - Missing Authorization to Unauthenticated Private Gallery Image Disclosure via 'modula_gallery_id' and 'modula_image_id' Parameters

7.5
Missing Authorization
CVE CVE-2026-89406
CVSS 7.5 (High)
Publicly Published September 24, 2026
Last Updated September 25, 2026
Researcher Supakiad S. (m3ez) - E-CQURITY (Thailand)

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.

References

Share

Vulnerability Details for Modula Image Gallery – Photo Grid & Video Gallery

Software Type Plugin
Software Slug modula-best-grid-gallery (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.0.2, or a newer patched version
Affected Version
  • <= 3.0.1
Patched Version
  • 3.0.2

Recent vulnerabilities in Modula Image Gallery – Photo Grid & Video Gallery

# Title CVE ID CVSS Researchers Date
1 Modula Image Gallery <= 3.0.2 - Missing Authorization to Authenticated (Author+) Arbitrary File Deletion (Non-PHP) via 'file' Parameter CVE-2026-92713 8.1 pb>sec September 24, 2026
2 Modula Image Gallery – Photo Grid & Video Gallery 2.14.25-2.14.30 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2026-65475 6.4 Abdullah Kareem "cyberkareem" July 22, 2026
3 Modula Image Gallery – Photo Grid & Video Gallery <= 2.14.23 - Authenticated (Subscriber+) Stored Cross-Site Scripting CVE-2026-42688 6.4 Nguyen Ba Khanh May 26, 2026
4 Modula Image Gallery – Photo Grid & Video Gallery <= 2.14.18 - Authenticated (Author+) PHP Object Injection CVE-2026-39481 7.5 daroo April 20, 2026
5 Modula Image Gallery – Photo Grid & Video Gallery <= 2.13.6 - Missing Authorization to Authenticated (Contributor+) Arbitrary Post/Page Editing CVE-2026-1254 4.3 type5afe February 13, 2026
6 Modula Image Gallery <= 2.13.4 - Authenticated (Author+) Stored Cross-Site Scripting CVE-2026-23976 6.4 johska February 4, 2026
7 Image Gallery – Photo Grid & Video Gallery <= 2.13.3 - Missing Authorization to Authenticated (Author+) Arbitrary Gallery Modification CVE-2025-14003 4.3 Athiwat Tiprasaharn (Jitlada), Itthidej Aramsri (Boeing777), Powpy, Waris Damkham, Varakorn Chanthasri (iCreaM), Peerapat Samatathanyakorn, Sopon Tangpathum (SoNaJaa) December 15, 2025
8 Image Gallery – Photo Grid & Video Gallery (Modula) <= 2.13.3 - Missing Authorization to Arbitrary Directory Listing CVE-2025-13891 6.5 Dmitrii Ignatyev December 11, 2025
9 Modula 2.13.1 - 2.13.2 - Authenticated (Author+) Arbitrary File Upload via Race Condition CVE-2025-13646 7.5 0xQRx December 2, 2025
10 Modula 2.13.1 - 2.13.2 - Authenticated (Author+) Arbitrary File Deletion CVE-2025-13645 7.2 ISMAILSHADOW December 2, 2025

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation