CVE-2025-12494 Missing authorization in Modula Image Gallery – Photo Grid & Video Gallery

Medium 4.3 Published Updated

Authenticated attackers with author-level access can move arbitrary image files on the server due to insufficient path validation in the plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-12494?

CVE-2025-12494 is a medium-severity missing authorization vulnerability in wpchill Modula Image Gallery – Photo Grid & Video Gallery, published on 15 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-285

Which versions are affected by CVE-2025-12494?

How do I fix CVE-2025-12494?

No fix has been published for CVE-2025-12494 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-12494 being exploited?

There is no known exploitation of CVE-2025-12494 in the wild and no public exploit code.

Sources

Also known as CVE-2025-13890, GHSA-c42p-mjmp-r2p3.

Is CVE-2025-12494 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free