CVE-2025-13891

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductModula Image Gallery – Photo Grid & Video Gallery
PublishedDec 12, 2025
First seenDec 12, 2025

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
wpchill Modula Image Gallery – Photo Grid & Video Galleryv ≤ 2.13.3—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-13891 · Modula Image Gallery – Photo Grid & Video Gallery · Dark Radar