Modula Image Gallery: Code execution
Modula Image Gallery is affected by code execution. Exploitation requires at least author-level access. Successful exploitation can run attacker-controlled code in the WordPress hosting account.
- Component
- Modula Image Gallery
- Plugin slug
modula-best-grid-gallery- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- Dec 03, 2025
This CVE was published Dec 03, 2025 and is one of 10 known issues for this plugin.
Patch or disable the affected component.
Update Modula Image Gallery to a release outside the affected range, or disable and remove it until a fixed version is available.
Technical description
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).
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Primary and upstream sources
- NVD record for CVE-2025-13645
- GitHub upstream reference github.com
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- WordPress upstream reference plugins.trac.wordpress.org
- Wordfence advisory wordfence.com