CVE-2025-12494
The Image Gallery – Photo Grid & Video Gallery plugin for WordPress …
The Image Gallery – Photo Grid & Video Gallery plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the ajax_import_file function in all versions up to, and including, 2.12.28. This makes it possible for authenticated attackers, with author-level access and above, to move arbitrary image files on the server.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/cl
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/cl
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/cl
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/cl
- plugins.trac.wordpress.org/changeset/3391790/modula-best-grid-gallery/trunk?contextall=1&o
- research.cleantalk.org/cve-2025-12494/
- www.wordfence.com/threat-intel/vulnerabilities/id/ca423309-d8bd-46a4-9e88-9534d9c60b4a?sou
- nvd.nist.gov/vuln/detail/CVE-2025-12494
- cve.org/CVERecord?id=CVE-2025-12494
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.