# CVE-2024-12114: FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel <= 2.4.29 - Insecure Direct Object Reference to Authenticated (Custom+) Arbitrary Post/Page Updates

- Severity: Medium 4.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2025-03-08T05:30:09.469Z
- Modified: 2026-06-17T06:59:04.523Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- fooplugins Gallery by FooGallery: up to 2.4.29
- fooplugins foogallery: before 2.4.30

## Every score

- Wordfence: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/f4fe3ad9-247f-4e5d-8c79-0970afaa7729?source=cve> (third-party-advisory)
- <https://github.com/fooplugins/foogallery/blob/master/includes/admin/class-gallery-attachment-modal.php#L242> (product)
- <https://plugins.trac.wordpress.org/changeset/3250684/foogallery/tags/2.4.30/includes/admin/class-gallery-attachment-modal.php?old=3229839&old_path=foogallery%2Ftags%2F2.4.29%2Fincludes%2Fadmin%2Fclass-gallery-attachment-modal.php> (patch)

## Sources

- CVE List: [CVE-2024-12114](https://www.cve.org/CVERecord?id=CVE-2024-12114), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-12114](https://nvd.nist.gov/vuln/detail/CVE-2024-12114), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-12114 · Whole record: https://cve.day/CVE-2024-12114.json · Rebuilt by cve.day 2026-11-25T22:58:52.241Z
