CVE-2025-12494

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

Published Nov 15, 2025 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Modula Image Gallery – Photo Grid & Video Gallery plugin allows authenticated WordPress users with author-level privileges or higher to execute an AJAX import that accepts a file path without proper validation, enabling the movement of arbitrary image files on the server. This flaw falls under CWE‑285 and can result in the deletion, relocation, or replacement of critical image assets, thereby affecting the integrity and availability of the site’s media content and potentially compromising backups or stored media.

Affected Systems

All WordPress installations that use the Modula Image Gallery plugin by wpchill and have a plugin version of 2.12.28 or earlier, including every site configured with author or higher roles for the upload functionality.

Risk and Exploitability

The CVSS score of 4.3 indicates a moderate risk, and the EPSS score of less than 1% points to a low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. An attacker would need to authenticate with an account that has at least author privileges and trigger an AJAX request to the vulnerable import endpoint. Once executed, the attacker could move or delete target files on the server, leading to content loss or potential privilege escalation if the files are system-critical. The attack vector is inferred from the AJAX import function and the requirement for authenticated use; no remote code execution is implied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Modula Image Gallery plugin to the latest release (minimum 2.12.29) to apply the path‑validation fix.
  • Restrict the author and higher privileges for users that need to interact with the media import feature, or remove the capability that allows access to the AJAX endpoint entirely.
  • If an immediate upgrade is not possible, temporarily block or disable the AJAX import endpoint (e.g., via .htaccess rules or a security plugin) until a patch is available.
  • Implement file‑system integrity monitoring to detect unauthorized file moves or deletions and review server permissions to limit write access to the media directories.

Generated by OpenCVE AI on April 21, 2026 at 01:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wpchill
Wpchill image Photo Gallery Final Tiles Grid
Vendors & Products Wordpress
Wordpress wordpress
Wpchill
Wpchill image Photo Gallery Final Tiles Grid
Type Values Removed Values Added
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.
Title Image Gallery – Photo Grid & Video Gallery <= 2.12.28 - Improper Authorization to Authenticated (Author+) Arbitrary Image File Move
Weaknesses CWE-285
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:22 PM
Reserved
Oct 29, 2025, 8:58 PM
Status
Deferred
Published
Nov 15, 2025, 6:15 AM
Modified
Oct 7, 2026, 9:10 PM