Path Traversal Vulnerability in Image Gallery Plugin for WordPress
CVE-2025-13891
6.5MEDIUM
Key Information:
- Vendor
WordPress
- Vendor
- CVE Published:
- 12 December 2025
What is CVE-2025-13891?
The Image Gallery β Photo Grid & Video Gallery plugin for WordPress exposes a path traversal vulnerability through its modula_list_folders AJAX endpoint. This issue arises from insufficient path validation and base directory restrictions, allowing authenticated users with Author permissions or higher to potentially access unauthorized directories on the server. The failure to confine user-supplied directory paths to designated safe directories poses a significant security risk, enabling attackers to enumerate arbitrary directories.
Affected Version(s)
Image Gallery β Photo Grid & Video Gallery * <= 2.13.3