CVE-2025-6068

Medium

Description

The FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `data-caption-title` & `data-caption-description` HTML attributes in all versions up to, and including, 2.4.31 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

SeverityMedium
CVSS6.4
Exploit probability—
ProductFooplugins Foogallery
PublishedJul 11, 2025
First seenJul 11, 2025

How to fix

Update
  • fooplugins foogallery2.4.32 or later

Affected products

ProductAffected versionsFixed in
fooplugins foogalleryv < 2.4.322.4.32

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.