CVE-2025-12494

Image Gallery – Photo Grid & Video Gallery <= 2.12.28 - Improper Authorization to Authenticated (Author+) Arbitrary Image File Move

2025-11-14 16:51
Dmitrii Ignatyev

Strategic Overview

Status
Patched in 2.12.29
Affected Version
<= 2.12.28
CVSS
4.3Medium
Weakness type
CWE-285 · Improper Authorization
CVE
CVE-2025-12494
View all Modula Image Gallery – Photo Grid & Video Gallery vulnerabilities

At a glance

CVE-2025-12494 is a medium-severity Improper Authorization vulnerability in the Modula Image Gallery WordPress plugin, affecting versions <= 2.12.28. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Author level or above. The issue is fixed in version 2.12.29; sites on affected versions should update now. Disclosed November 2025, reported by Dmitrii Ignatyev.

Vulnerability Overview

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.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.

CWE-285: Improper Authorization

Reaching this weakness in Modula Image Gallery <= 2.12.28 takes an account at Author level or above. Improper authorization means a permission check exists but does not cover the case being exercised, so a caller who is allowed to do one thing is allowed to do a neighbouring thing as well.

A lower-privileged account performs an action reserved for a higher one, which on a multi-author or membership site means an ordinary user reaching administrative behaviour. For Modula Image Gallery the fix is 2.12.29: builds <= 2.12.28 are affected, anything from 2.12.29 onward is not.

Remediation

Update to version 2.12.29, or a newer patched version

How does WordSec protect against this?

Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: Modula Image Gallery 2.12.29 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C