{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-13891","published":"2025-12-12T08:15:47.487000Z","last_modified":"2026-10-07T20:10:01.970000Z","status":"Deferred","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"security@wordfence.com","primary":false},"auth":true,"cwes":["CWE-22"],"cpes":[],"cpes_truncated":false,"vendors":["wpchill"],"products":["wpchill/modula-image-gallery-photo-grid-and-video-gallery"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.00697,"percentile":0.48556,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2025-13891/","html_en":"/en/cve/CVE-2025-13891/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-13891","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-13891"},"untrusted":{"vendor_name":"wpchill","product_name":"Modula Image Gallery – Photo Grid & Video Gallery","desc_en":"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.","affected":[{"untrusted_vendor":"wpchill","untrusted_product":"Modula Image Gallery – Photo Grid & Video Gallery","versions":[]}],"references":[{"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#L230","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://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":[]},{"url":"https://research.cleantalk.org/cve-2025-13891/","tags":[]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/71e587ec-ceb6-48ca-9a1a-599d9d988b4d?source=cve","tags":[]}]}}