The Modula Image Gallery plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'ajax_unzip_file' function in versions 2.13.1 to 2.13.2. This makes it possible for authenticated attackers, with Author-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://plugins.trac.wordpress.org/changeset/3395701/modula-best-grid-gallery#file5 Patch
- https://plugins.trac.wordpress.org/changeset/3407949/modula-best-grid-gallery Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.2 · wpchillNVD modified 2026-10-18 17:10
Affected (CPE criteria) 1
cpe:2.3:a:wpchill:modula_image_gallery:*:*:*:*:*:wordpress:*:*
References 6
- https://github.com/WPChill/modula-lite/commit/90c8eb982f71b31584d9be9359e3b594e03927d7 Broken Link
- https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.13.2/includes/admin/class-modula-gallery-upload.php#L1025 Product
- https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.13.2/includes/admin/class-modula-gallery-upload.php#L1119 Product
- https://plugins.trac.wordpress.org/changeset/3395701/modula-best-grid-gallery#file5 Patch
- https://plugins.trac.wordpress.org/changeset/3407949/modula-best-grid-gallery Patch
- https://www.wordfence.com/threat-intel/vulnerabilities/id/080683bb-713f-4aa8-b635-90c96f358bec?source=cve Third Party Advisory