Image Gallery – Photo Grid & Video Gallery (Modula) <= 2.13.3 - Missing Authorization to Arbitrary Directory Listing

6.5
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE CVE-2025-13891
CVSS 6.5 (Medium)
Publicly Published December 11, 2025
Last Updated December 12, 2025
Researcher Dmitrii Ignatyev - CleanTalk Inc

Description

The Image Gallery – Photo Grid & Video Gallery plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 2.13.3. This is due to the modula_list_folders AJAX endpoint that lacks proper path validation and base directory restrictions. While the endpoint verifies user capabilities (Author+ with upload_files and edit_posts permissions), it fails to validate that user-supplied directory paths reside within safe directories. This makes it possible for authenticated attackers, with Author-level access and above, to enumerate arbitrary directories on the server via the modula_list_folders endpoint.

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 2.13.4, or a newer patched version
Affected Version
  • <= 2.13.3
Patched Version
  • 2.13.4

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

# Title CVE ID CVSS Researchers Date
1 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
2 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
3 Modula Image Gallery – Photo Grid & Video Gallery <= 2.14.18 - Authenticated (Author+) PHP Object Injection CVE-2026-39481 7.5 daroo April 20, 2026
4 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
5 Modula Image Gallery <= 2.13.4 - Authenticated (Author+) Stored Cross-Site Scripting CVE-2026-23976 6.4 johska February 4, 2026
6 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
7 Modula 2.13.1 - 2.13.2 - Authenticated (Author+) Arbitrary File Upload via Race Condition CVE-2025-13646 7.5 0xQRx December 2, 2025
8 Modula 2.13.1 - 2.13.2 - Authenticated (Author+) Arbitrary File Deletion CVE-2025-13645 7.2 ISMAILSHADOW December 2, 2025
9 Modula Image Gallery <= 2.13.6 - Missing Authorization CVE-2026-24939 4.3 Que Thanh Tuan November 22, 2025
10 Image Gallery – Photo Grid & Video Gallery <= 2.12.28 - Improper Authorization to Authenticated (Author+) Arbitrary Image File Move CVE-2025-12494 4.3 Dmitrii Ignatyev November 14, 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