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 ID: CVE-2024-12114
CVSS Base Severity: MEDIUM
CVSS Base Score: 4.3
CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Vendor: bradvin
Product: FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel
EPSS Score: 0.03% (probability of being exploited)
EPSS Percentile: 4.76% (scored less or equal to compared to others)
EPSS Date: 2025-04-06 (when was this score calculated)