Path Traversal in Wpchill Modula Image Gallery – Photo Grid & Video

CVE-2025-13891

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.004 (29.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-13891?
CVE-2025-13891 is a medium-severity vulnerability in Wpchill Modula Image Gallery – Photo Grid & Video, classified under Path Traversal. CVSS score: 6.5/10. Published 2025-12-12.
How severe is CVE-2025-13891?
Medium severity. CVSS v3 base score is 6.5 out of 10.