Best WordPress Gallery Plugin – FooGallery <= 2.4.7 -Authenticated(Administrator+) Stored Cross-Site Scripting via settings

4.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2024-0604
CVSS 4.4 (Medium)
Publicly Published February 14, 2024
Last Updated May 31, 2024
Researcher Akbar Kustirama - Codelatte

Description

The Best WordPress Gallery Plugin – FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 2.4.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel

Software Type Plugin
Software Slug foogallery (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.4.9, or a newer patched version
Affected Version
  • <= 2.4.7
Patched Version
  • 2.4.9

Recent vulnerabilities in Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel

# Title CVE ID CVSS Researchers Date
1 Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel <= 3.1.31 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'custom_attribute_key' Shortcode Parameter CVE-2026-9134 6.4 Dmitrii Ignatyev June 12, 2026
2 Freemius <= 2.10.1 - Reflected DOM-Based Cross-Site Scripting via url Parameter CVE-2024-13362 6.1 Asaf Mozes April 30, 2026
3 FooGallery <= 3.1.11 - Authenticated (Author+) Stored Cross-Site Scripting CVE-2026-25362 6.4 Steven Julian February 15, 2026
4 FooGallery <= 3.1.11 - Missing Authorization CVE-2026-25363 4.3 Steven Julian February 15, 2026
5 Gallery by FooGallery <= 3.1.9 - Missing Authorization to Authenticated (Subscriber+) Arbitrary Gallery Metadata Exposure CVE-2025-15524 4.3 s00me00ne February 10, 2026
6 FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel <= 2.4.31 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting CVE-2025-6068 6.4 Webbernaut July 10, 2025
7 FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel <= 2.4.29 - Insecure Direct Object Reference to Authenticated (Custom+) Arbitrary Post/Page Updates CVE-2024-12114 4.3 Stiofan March 7, 2025
8 FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel <= 2.4.29 - Authenticated (Custom+) Stored Cross-Site Scripting via Album Title Size CVE-2024-12119 6.4 Stiofan March 7, 2025
9 FooGallery <= 2.4.29 - Reflected Cross-Site Scripting CVE-2025-22624 6.1 Andres Roldan February 27, 2025
10 FooGallery <= 2.4.15 - Authenticated (Contributor+) Stored Cross-Site Scripting via Gallery Custom URL CVE-2024-2122 6.4 Robert Kruczek (ProXy) June 13, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation