{"id":"CVE-2025-13891","published":"2025-12-12T07:20:35Z","modified":"2026-04-08T17:00:39Z","title":"Image Gallery – Photo Grid & Video Gallery (Modula) <= 2.13.3 - Missing Authorization to Arbitrary Directory Listing","vendor":"wpchill","product":"Modula Image Gallery – Photo Grid & Video Gallery","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00697,"percentile":0.48485,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/71e587ec-ceb6-48ca-9a1a-599d9d988b4d?source=cve","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/class-modula-gallery-upload.php#L230","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/class-modula-gallery-upload.php#L160","tags":[]},{"url":"https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/class-modula-gallery-upload.php#L411","tags":[]},{"url":"https://research.cleantalk.org/cve-2025-13891/","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3414176%40modula-best-grid-gallery%2Ftrunk&old=3407949%40modula-best-grid-gallery%2Ftrunk&sfp_email=&sfph_mail=","tags":[]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":9.7},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"wpchill","affectedVersions":[{"vendor":"wpchill","product":"Modula Image Gallery – Photo Grid & Video Gallery","versions":["<= 2.13.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-12T20:45:29.351475Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-203051","exploited":false,"provenance":"source"}}