# CVE-2024-12119: FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel <= 2.4.29 - Authenticated (Custom+) Stored Cross-Site Scripting via Album Title Size

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/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.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-03-08T05:30:08.997Z
- Modified: 2026-06-17T06:59:05.103Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## Description

The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the default_gallery_title_size parameter in all versions up to, and including, 2.4.29 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with granted gallery and album creator roles, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

(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 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/2070c6e6-d830-4d1c-9408-5cb2254a00e5?source=cve> (third-party-advisory)
- <https://github.com/fooplugins/foogallery/blob/master/extensions/albums/album-default.php#L26> (product)
- <https://plugins.trac.wordpress.org/browser/foogallery/tags/2.4.27/extensions/albums/album-default.php#L26> (product)

## Sources

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

---

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