WordPress security changelog
MEDIUM CVE-2025-12494 Deferred

Image Gallery – Photo Grid & Video Gallery: Arbitrary file deletion

Image Gallery – Photo Grid & Video Gallery is affected by arbitrary file deletion. Exploitation requires an authenticated author account. A successful request can remove files outside the intended scope and may make the site unavailable.

CVE / CNA score 4.3 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
Image Gallery – Photo Grid & Video Gallery
Plugin slug
modula-best-grid-gallery
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Nov 15, 2025
Weakness
CWE-285 — Improper Authorization

This CVE was published Nov 15, 2025 and is one of 14 known issues for this plugin.

Update, patch or deactivate.

No fixed release is identified. Update Image Gallery – Photo Grid & Video Gallery when a confirmed fixed release becomes available; until then, disable and remove it when the site's risk warrants.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Primary and upstream sources