CVE-2025-22624 Cross-site scripting in FooGallery - Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel
Attackers can execute arbitrary scripts in victim browsers via reflected XSS in the FooGallery WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-22624?
CVE-2025-22624 is a medium-severity cross-site scripting vulnerability in bradvin FooGallery - Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel, published on 27 Feb 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry and Carousel 2.4.29 was found to be vulnerable. The web application dynamically generates web content without validating the source of the potentially untrusted data in myapp/extensions/albums/admin/class-meta boxes.php.
Weakness: CWE-79
Which versions are affected by CVE-2025-22624?
How do I fix CVE-2025-22624?
No fix has been published for CVE-2025-22624 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-22624 being exploited?
There is no known exploitation of CVE-2025-22624 in the wild and no public exploit code.
Sources
Also known as GHSA-p9mp-976m-mcf6.