---
id: CVE-2026-107659
title: >-
  Modula Image Gallery <= 3.0.11 - Missing Authorization to Unauthenticated
  Sensitive Information Exposure via Exposed 'modulaSettings' REST field on the
  modula-gallery CPT
summary: >-
  The Modula Image Gallery – Photo Grid & Video Gallery plugin for WordPress is
  vulnerable to Sensitive Information Exposure in all versions up to, and
  including, 3.0.11 via the 'id (post ID in /wp-json/wp/v2/modula-gallery/{id})
  or none f…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-862
vendor: wpchill
product: Modula Image Gallery – Photo Grid & Video Gallery
affected:
  - modula_image_gallery_photo_grid_video_gallery <= 3.0.11
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T04:27:05.213Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-107659'
references:
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/ea70ffaf-b78b-4550-b334-d105f25b3f61?source=cve
  - url: >-
      https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.11/includes/admin/cpt/class-modula-cpt.php#L209
  - url: >-
      https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.11/includes/admin/cpt/class-modula-cpt.php#L189
  - url: >-
      https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tags/3.0.11/includes/admin/cpt/class-modula-cpt.php#L141
  - url: 'https://plugins.trac.wordpress.org/browser/modula-best-grid-gallery/'
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3729079/modula-best-grid-gallery/trunk/includes/admin/cpt/class-modula-cpt.php
tags:
  - cve.org
ingestedAt: '2026-10-16T04:58:47.489Z'
---

## Overview

The Modula Image Gallery – Photo Grid & Video Gallery plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 3.0.11 via the 'id (post ID in /wp-json/wp/v2/modula-gallery/{id}) or none for collection route' parameter. This makes it possible for unauthenticated attackers to extract the plaintext Password Protect password and username for every published gallery from the modulaSettings REST field. The plugin's own /wp-json/modula/v2/gallery/{id}/settings endpoint correctly redacts the password for unauthenticated callers via redact_settings_for_public(), but no equivalent redaction is applied on the core /wp-json/wp/v2/modula-gallery path exposed by show_in_rest=true CPT registration.

## Affected

- `modula_image_gallery_photo_grid_video_gallery <= 3.0.11`

## Remediation

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