# Mixed Media Gallery Blocks <= 3.4.5 - Unauthenticated Sensitive Information Exposure via REST API Gallery Block Data

- **ID:** WPSEC-2026-3316
- **Plugin:** SimpLy Gallery (`simply-gallery-block`), https://wordpress.org/plugins/simply-gallery-block/
- **Affected versions:** from 2.2.1 before 3.5.0
- **Fixed in:** 3.5.0 (Update to 3.5.0 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-200
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-11-18)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/simply-gallery-block
- **Fix released:** 2026-11-16
- **Published:** 2026-11-18
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3316/

## Description

The SimpLy Gallery plugin for WordPress is vulnerable to Sensitive Information Exposure via the public 'simply-gallery/v2/gallery/{id}' REST API endpoint in versions 2.2.1 up to, and including, 3.4.5, due to insufficient restrictions on which posts can be queried. The endpoint's callback only refused unpublished posts of the plugin's own gallery post type and read every other post type regardless of status, and it ignored post passwords. This makes it possible for unauthenticated attackers to retrieve SimpLy Gallery block data, such as gallery items and their titles, captions, descriptions and media URLs, from private, draft and password-protected posts, pages and galleries.

## References

- https://wpsec.com/vuln/WPSEC-2026-3316/
- https://plugins.svn.wordpress.org/simply-gallery-block/tags/3.5.0/
- https://wordpress.org/plugins/simply-gallery-block/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3316/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
