Auth bypass in Fooplugins Foogallery

CVE-2024-12114

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.

Vulnerability class: IDOR (Insecure Direct Object Reference)

EPSS: 0.003 (21.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-12114?
CVE-2024-12114 is a medium-severity vulnerability in Fooplugins Foogallery, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 4.3/10. Published 2025-03-08.
How severe is CVE-2024-12114?
Medium severity. CVSS v3 base score is 4.3 out of 10.