Vulnerability Report
Plugin Medium Patch path listed CVE-2025-13891

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

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.

Quick Answer

CVE-2025-13891 is a medium severity with CVSS 6.5 Vulnerability issue affecting the Plugin Modula Image Gallery – Photo Grid & Video Gallery. It affects Versions up to 2.13.3 and is fixed in 2.13.4.

Published
Dec 11, 2025
Last Updated
Dec 12, 2025
Slug
modula-best-grid-gallery
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 2.13.4, or a newer patched version
Operator Briefing

CVE-2025-13891 is tracked for the Plugin Modula Image Gallery – Photo Grid & Video Gallery as medium severity with CVSS 6.5. The affected range is Versions up to 2.13.3. Update Modula Image Gallery – Photo Grid & Video Gallery to 2.13.4 or newer where that version is compatible with the site.

Issue Type
Vulnerability
Primary Fixed Version
2.13.4
Primary Affected Range
Versions up to 2.13.3
Tracking ID
CVE-2025-13891
Detailed Metadata
Software Type Plugin
Software Slug
modula-best-grid-gallery View on wordpress.org
CVE CVE-2025-13891
Patched Versions
2.13.4
Affected Versions
Versions up to 2.13.3
Related CVE Cluster

Related CVEs for Modula Image Gallery – Photo Grid & Video Gallery

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

High CVE-2024-12853 2.11.11 Jan 07, 2025
CVE-2024-12853 Modula Image Gallery – Photo Grid & Video Gallery Remote Code Execution

Modula Image Gallery <= 2.11.10 - Authenticated (Author+) Arbitrary File Upload

High CVE-2026-39481 2.14.19 Apr 20, 2026
CVE-2026-39481 Modula Image Gallery – Photo Grid & Video Gallery Vulnerability

Modula Image Gallery – Photo Grid & Video Gallery <= 2.14.18 - Authenticated (Author+) PHP Object Injection

High CVE-2025-13646 2.13.3 Dec 02, 2025
CVE-2025-13646 Modula Image Gallery – Photo Grid & Video Gallery Remote Code Execution

Modula 2.13.1 - 2.13.2 - Authenticated (Author+) Arbitrary File Upload via Race Condition

High CVE-2022-41135 2.6.91 Oct 28, 2022
CVE-2022-41135 Modula Image Gallery – Photo Grid & Video Gallery Authorization Bypass

Customizable WordPress Gallery Plugin – Modula Image Gallery <= 2.6.9 - Missing Authorization to Plugin Settings Change

High CVE-2025-13645 2.13.3 Dec 02, 2025
CVE-2025-13645 Modula Image Gallery – Photo Grid & Video Gallery Remote Code Execution

Modula 2.13.1 - 2.13.2 - Authenticated (Author+) Arbitrary File Deletion

Medium CVE-2026-23976 2.13.5 Feb 04, 2026
CVE-2026-23976 Modula Image Gallery – Photo Grid & Video Gallery Stored Cross-Site Scripting

Modula Image Gallery <= 2.13.4 - Authenticated (Author+) Stored Cross-Site Scripting

Medium CVE-2024-9416 2.10.2 Apr 02, 2025
CVE-2024-9416 Modula Image Gallery – Photo Grid & Video Gallery Stored Cross-Site Scripting

Modula Image Gallery <= 2.10.1 - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via FancyBox 5 JavaScript Library

Medium CVE-2020-9003 2.2.5 Feb 19, 2020
CVE-2020-9003 Modula Image Gallery – Photo Grid & Video Gallery Stored Cross-Site Scripting

Modula Image Gallery <= 2.2.4 - Authenticated Stored Cross-Site Scripting

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more