High severity · published Dec 3, 2025
CVE-2025-13645
Modula 2.13.1 - 2.13.2 - Authenticated (Author+) Arbitrary File Deletion
7.2
CVSS
1%
EPSS
No
On KEV
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).
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
IG
Image Gallery – Photo Grid & Video Gallery · wpchill
2.13.1 through 2.13.2 · source: vendor
MI
Modula Image Gallery · Wpchill
2.13.1 before 2.13.3 · source: NVD
Affected product
IG
Image Gallery – Photo Grid & Video Gallery
wpchill
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-13645
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-13645
Broken Link
https://github.com/WPChill/modula-lite/commit/90c8eb982f71b31584d9be9359e3b594e03927d7
Product
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
Patch
https://plugins.trac.wordpress.org/changeset/3395701/modula-best-grid-gallery#file5
Patch
https://plugins.trac.wordpress.org/changeset/3407949/modula-best-grid-gallery
Third Party Advisory
https://www.wordfence.com/threat-intel/vulnerabilities/id/080683bb-713f-4aa8-b635-90c96f358bec?source=cve
More from Image Gallery – Photo Grid & Video Gallery
6.6
CVE-2025-13646
Modula 2.13.1 - 2.13.2 - Authenticated (Author+) Arbitrary File Upload via Race Condition
