CVE-2024-12114

Medium

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.

SeverityMedium
CVSS4.3
Exploit probability—
ProductFooplugins Foogallery
PublishedMar 8, 2025
First seenMar 8, 2025

How to fix

Update
  • fooplugins foogallery2.4.30 or later

Affected products

ProductAffected versionsFixed in
fooplugins foogalleryv < 2.4.302.4.30

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.