CVE-2025-6068

CVE-2025-6068 is a medium-severity vulnerability in Fooplugins Foogallery with a CVSS 3.x base score of 6.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.

Key facts

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.

Frequently asked questions

What is CVE-2025-6068?
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.
How severe is CVE-2025-6068?
CVE-2025-6068 has a CVSS 3.x base score of 6.4, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2025-6068 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (10th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-6068?
CVE-2025-6068 affects Fooplugins Foogallery. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-6068?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-6068 have an EU (EUVD) identifier?
Yes. CVE-2025-6068 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-21116.
When was CVE-2025-6068 published?
CVE-2025-6068 was published on 2025-07-11 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Fooplugins Foogallery

All CVEs affecting Fooplugins Foogallery →

Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities

Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →