Foogallery (WordPress plugin): is it safe?

Short answer: Version 2.4.32 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

WordPress foogallery has 13 known advisories in the phpwarden feed. Feed 2026.11.23.2, updated 2026-11-23.

13advisories
0critical
0on CISA KEV
3no fix recorded
CVETitleSeverityCVSSAffectedFixed in
CVE-2023-6947The Best WordPress Gallery Plugin – FooGallery plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and includinhigh7.7<2.4.272.4.27
CVE-2019-20182The FooGallery plugin 1.8.12 for WordPress allow XSS via the post_title parameter.medium4.8<=1.8.12–
CVE-2021-24357In the Best Image Gallery & Responsive Photo Gallery – FooGallery WordPress plugin before 2.0.35, the Custom CSS field of each gallery is nomedium5.4<2.0.352.0.35
CVE-2024-0604The Best WordPress Gallery Plugin – FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all vmedium4.4<=2.4.7–
CVE-2024-2081The Best WordPress Gallery Plugin – FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the foogallery_attachmemedium6.4<2.4.152.4.15
CVE-2024-2122The Best WordPress Gallery Plugin – FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via album gallery custom URmedium6.4<2.4.162.4.16
CVE-2023-6747The Best WordPress Gallery Plugin – FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the custom attributes imedium6.4<2.4.62.4.6
CVE-2024-2762The FooGallery WordPress plugin before 2.4.15, foogallery-premium WordPress plugin before 2.4.15 does not validate and escape some of its Gmedium5.4<2.4.152.4.15
CVE-2024-2471The FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via image attachment fields (such as 'Title', 'Alt Text', 'medium6.4<2.4.152.4.15
CVE-2024-12114The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel plugin for WordPress is vulnerable to Insecure Directmedium4.3<2.4.302.4.30
CVE-2024-12119The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel plugin for WordPress is vulnerable to Stored Cross-Simedium6.4<2.4.302.4.30
CVE-2023-44233Cross-Site Request Forgery (CSRF) vulnerability in FooPlugins Best WordPress Gallery Plugin – FooGallery plugin <= 2.2.44 versions.medium5.4<=2.2.44–
CVE-2025-6068The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel plugin for WordPress is vulnerable to Stored Cross-Simedium6.4<2.4.322.4.32

Quick answers

Is Foogallery safe to use?

Version 2.4.32 or later has a fix for every vulnerability listed here. Older versions may be affected: check the table against the exact version you run.

Is Foogallery being actively exploited?

None of its 13 known vulnerabilities are on CISA's Known Exploited Vulnerabilities list today.

How do I check my own site?

Run `phpwarden wordpress /path/to/wordpress`. phpwarden compares the exact version you have installed with these advisories and lists only the ones that apply, exploited ones first.

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /path/to/wordpress

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /path/to/wordpress

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked
A version is vulnerable when it falls inside an affected range and below the fixed version. phpwarden applies these ranges to the exact versions in your lockfile or install, so you only see what applies to you.

Add this status to your README

phpwarden status badge

Maintainer of this package? The badge updates itself whenever the feed is rebuilt (twice a day). Add ?v=1.2.3 to the image address to show the status of one exact version.

[![phpwarden](https://phpwarden.io/badge/wordpress-plugin/foogallery.svg)](https://phpwarden.io/packages/wordpress-plugin/foogallery)