Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26
- https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26
- https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26
- https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26
- https://plugins.trac.wordpress.org/changeset/3391790/modula-best-grid-gallery/tr
- https://research.cleantalk.org/cve-2025-12494/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/ca423309-d8bd-46a4-9e8
FAQ
What is CVE-2025-12494?
CVE-2025-12494 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 u...
How severe is CVE-2025-12494?
CVE-2025-12494 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-12494?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.