FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel: A security weakness
FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel is affected by a security weakness. Exploitation requires an authenticated WordPress account. The resulting impact depends on how the affected component exposes the vulnerable operation.
- Component
- FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel
- Plugin slug
foogallery- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- Mar 08, 2025
This CVE was published Mar 08, 2025 and is one of 20 known issues for this plugin.
Update, patch or deactivate.
Update FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel to a release outside the affected range, or disable and remove it until a fixed version is available.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.4.29 via the foogallery_attachment_modal_save AJAX action due to missing validation on a user controlled key (img_id). This makes it possible for authenticated attackers, with granted access and above, to update arbitrary post and page content. This requires the Gallery Creator Role setting to be a value lower than 'Editor' for there to be any real impact.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N