Photo Gallery – GT3 Image Gallery & Gutenberg Block Gallery <= 2.7.7.32 - Authenticated (Contributor+) Insecure Direct Object Reference to Private and Password-Protected Gallery Disclosure via 'gt3-gallery' Shortcode and Gallery Blocks

Medium 4.3 CWE-639Fixed in 2.7.7.33
ID
WPSEC-2026-2817
Plugin
Photo Gallery – GT3 Image Gallery & Gutenberg Block Gallery (gt3-photo-video-gallery)
Affected
all versions before 2.7.7.33
Remediation
Update to 2.7.7.33 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-639
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-10
Attack surface
Photo Gallery – GT3 Image Gallery & Gutenberg Block Gallery on WPSec AttackSurface
Fix released
Published

Description

The Photo Gallery plugin for WordPress is vulnerable to Insecure Direct Object Reference via the 'gt3-gallery' shortcode, its REST render route, and the gallery and category sources of the plugin's blocks in all versions up to, and including, 2.7.7.32. This is due to missing checks on the gallery's post status and password before a gallery is rendered from a user-supplied ID. This makes it possible for authenticated attackers, with Contributor-level access and above, to expose the images of private, draft or password-protected galleries they are not allowed to view.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0