Description
The Gallery by FooGallery plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the ajax_get_gallery_info() function in all versions up to, and including, 3.1.9. This makes it possible for authenticated attackers, with Subscriber-level access and above, to retrieve metadata (name, image count, thumbnail URL) of private, draft, and password-protected galleries by enumerating gallery IDs.
Problem types
Product status
* (semver)
Timeline
| 2025-12-31: | Discovered |
| 2026-01-14: | Vendor Notified |
| 2026-02-10: | Disclosed |
Credits
Mariusz Maik
References
www.wordfence.com/...-69dd-4b74-9374-38379832cdcb?source=cve
plugins.trac.wordpress.org/...admin/class-gallery-editor.php