---
id: CVE-2026-92713
title: >-
  The Modula Image Gallery – Photo Grid & Video Gallery plugin for WordPress is
  vulnerable to arbitrary file deletion due to insufficient file path validation
  in the upload_image function in all versions up to, and including, 3.0.2
summary: >-
  The Modula Image Gallery – Photo Grid & Video Gallery plugin for WordPress is
  vulnerable to arbitrary file deletion due to insufficient file path validation
  in the upload_image function in all versions up to, and including, 3.0.2. This
  m…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'
cwe:
  - CWE-862
vendor: wpchill
product: Modula Image Gallery – Photo Grid & Video Gallery
affected:
  - modula_image_gallery_photo_grid_video_gallery <= 3.0.2
published: '2026-09-25'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T14:17:22.480'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92713'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.2/includes/admin/helpers/class-modula-gallery-upload.php#L1310
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.2/includes/admin/helpers/class-modula-gallery-upload.php#L260
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.2/includes/v2/rest/class-gallery-upload-controller.php#L337
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3701804%40modula-best-grid-gallery&new=3701804%40modula-best-grid-gallery
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/1686f4ad-b114-4e4f-b8f7-8ea7c31b2672?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
epss: 0.00273
epssPercentile: 0.17673
ingestedAt: '2026-09-25T08:01:56.746Z'
---

## Overview

The Modula Image Gallery – Photo Grid & Video Gallery plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the upload_image function in all versions up to, and including, 3.0.2. This makes it possible for authenticated attackers, with author-level access and above, to delete arbitrary files on the server. The path restriction to wp-content/uploads is not an effective ownership boundary, as all user attachment files reside within that tree, and Authors trivially satisfy the edit_post check on their own galleries.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
