Vulnerabilities / Gallery : FooGallery / WPSEC-2026-4635
Gallery : FooGallery <= 3.3.37 - Authenticated (Contributor+) Sensitive Information Exposure via 'attachment_ids' Gallery Override
Medium 4.3
CWE-639Fixed in 3.3.48
- ID
- WPSEC-2026-4635
- Plugin
- FooGallery Photo Gallery : Image, Video & Masonry Galleries (foogallery)
- Affected
- all versions before 3.3.48
- Remediation
- Update to 3.3.48 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 Medium · Affected versions Medium among sites WPSec scans, 2026-12-04
- Attack surface
- Gallery : FooGallery on WPSec AttackSurface
- Fix released
- Published
Description
The FooGallery Photo Gallery plugin for WordPress is vulnerable to Sensitive Information Exposure via the 'attachment_ids' override in gallery shortcodes and blocks in all versions up to, and including, 3.3.37 due to the plugin rendering the supplied attachments without checking whether they are publicly viewable. This makes it possible for authenticated attackers, with contributor-level access and above, to expose private, draft or otherwise non-public media attachments and their details in a gallery on a page.
References
- https://wpsec.com/vuln/WPSEC-2026-4635/
- https://plugins.svn.wordpress.org/foogallery/tags/3.3.48/
- https://wordpress.org/plugins/foogallery/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS