Description
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.
References6
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tag…
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tag…
- plugins.trac.wordpress.org/browser/modula-best-grid-gallery/tag…
- plugins.trac.wordpress.org/changeset/3729079/modula-best-grid-g…
- www.wordfence.com/threat-intel/vulnerabilities/id/ea70ffaf-b78b…
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - EPSS — exploit probability
- 0% percentile: 23 · as of 10 November 2026
- CWE
- CWE-862
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.