BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2025-12494

MEDIUM 4.3 CVSS 3.1
Published
November 15, 2025
Last modified
October 7, 2026
NVD status
Deferred
Reported by
security@wordfence.com
Weakness
CWE-285
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

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.

Affected WordPress components

  • Modula Image Gallery – Photo Grid & Video Gallery Plugin · modula-best-grid-gallery
    Confirmed match Active
    Up to and including 2.12.28
    View on WordPress.org

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • wpchill Modula Image Gallery – Photo Grid & Video Gallery — Up to and including 2.12.28

References

  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/class-modula-gallery-upload.php#L554
  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/class-modula-gallery-upload.php#L567
  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/class-modula-gallery-upload.php#L589
  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/class-modula-gallery-upload.php#L597
  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3391790/modula-best-grid-gallery/trunk?contextall=1&old=3390878&old_path=%2Fmodula-best-grid-gallery%2Ftrunk
  • research.cleantalk.org https://research.cleantalk.org/cve-2025-12494/
  • www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/ca423309-d8bd-46a4-9e88-9534d9c60b4a?source=cve
  • nvd.nist.gov Official NVD record