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.
Published: 2025-12-12
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information disclosure through directory traversal
Action: Patch Now
AI Analysis

Impact

The Modula Image Gallery – Photo Grid & Video Gallery plugin for WordPress contains a path traversal flaw in the modula_list_folders AJAX endpoint. The endpoint verifies only that the requester has Author+ permissions and the upload_files and edit_posts capabilities, but it does not confirm that the supplied directory path is contained within a safe base directory. An authenticated user with these permissions can therefore pass arbitrary paths and cause the plugin to list the contents of any directory on the server that the WordPress process can read.

Affected Systems

WordPress sites that have the Modula Image Gallery – Photo Grid & Video Gallery plugin installed, versions up to and including 2.13.3. All installations that use the default configuration of the modula_list_folders endpoint and allow Author-level users with upload_files and edit_posts capabilities are impacted.

Risk and Exploitability

The vulnerability has a CVSS score of 6.5, indicating a moderate severity. The EPSS score is below 1 %, suggesting a low probability of exploitation in the near term. The issue is not listed in the CISA KEV catalog. Exploitation requires a valid WordPress account with Author or higher privileges, so the attack vector is authenticated, in‑application. If an attacker gains such a role, they can enumerate server directories via the public AJAX endpoint until the directory traversal is mitigated or the endpoint is protected.

Generated by OpenCVE AI on April 22, 2026 at 00:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Modula Image Gallery plugin to the latest release, which implements proper directory validation in the modula_list_folders endpoint.
  • Revoke or reduce the upload_files capability from Author roles so that only administrators can access the modula_list_folders endpoint.
  • Apply server‑side checks that ensure any directory path passed to the endpoint is confined to the plugin’s base directory, rejecting requests that target other locations.

Generated by OpenCVE AI on April 22, 2026 at 00:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 14 Dec 2025 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wpchill
Wpchill image Gallery
Vendors & Products Wordpress
Wordpress wordpress
Wpchill
Wpchill image Gallery

Fri, 12 Dec 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 12 Dec 2025 07:30:00 +0000

Type Values Removed Values Added
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.
Title Image Gallery – Photo Grid & Video Gallery (Modula) <= 2.13.3 - Missing Authorization to Arbitrary Directory Listing
Weaknesses CWE-22
References
Metrics cvssV3_1

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


Subscriptions

Wordpress Wordpress
Wpchill Image Gallery
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:00:39.071Z

Reserved: 2025-12-02T15:32:55.502Z

Link: CVE-2025-13891

cve-icon Vulnrichment

Updated: 2025-12-12T20:45:35.244Z

cve-icon NVD

Status : Deferred

Published: 2025-12-12T08:15:47.487

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-13891

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T00:15:03Z

Weaknesses