Arbitrary File Deletion in Image Gallery Plugin for WordPress
CVE-2025-12494

4.3MEDIUM

What is CVE-2025-12494?

The Image Gallery – Photo Grid & Video Gallery plugin for WordPress contains a vulnerability that allows authenticated attackers with author-level access and above to delete arbitrary files on the server. This flaw arises from inadequate validation of file paths in the ajax_import_file function, which can lead to unauthorized file manipulation, presenting significant security risks to affected WordPress installations. Users are advised to update to the latest version and implement robust security measures to mitigate potential exploits.

Affected Version(s)

Image Gallery – Photo Grid & Video Gallery * <= 2.12.28

References

CVSS V3.1

Score:
4.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Dmitrii Ignatyev
.
CVE-2025-12494 : Arbitrary File Deletion in Image Gallery Plugin for WordPress