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

- Severity: Medium 4.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-11-15T05:45:34.066Z
- Modified: 2026-10-07T21:10:00.200Z
- Weaknesses: CWE-285
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

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

(As written by CVE List.)

## Affected

- wpchill Modula Image Gallery – Photo Grid & Video Gallery: up to 2.12.28

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/ca423309-d8bd-46a4-9e88-9534d9c60b4a?source=cve>
- <https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/class-modula-gallery-upload.php#L554>
- <https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/class-modula-gallery-upload.php#L567>
- <https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/class-modula-gallery-upload.php#L589>
- <https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/2.12.26/includes/admin/class-modula-gallery-upload.php#L597>
- <https://research.cleantalk.org/cve-2025-12494/>
- <https://plugins.trac.wordpress.org/changeset/3391790/modula-best-grid-gallery/trunk?contextall=1&old=3390878&old_path=%2Fmodula-best-grid-gallery%2Ftrunk>

## Sources

- CVE List: [CVE-2025-12494](https://www.cve.org/CVERecord?id=CVE-2025-12494), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-12494](https://nvd.nist.gov/vuln/detail/CVE-2025-12494), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-12494 · Whole record: https://cve.day/CVE-2025-12494.json · Rebuilt by cve.day 2026-11-25T22:59:07.688Z
