Vulnerability Report
Plugin Medium Patch path listed CVE-2025-6068

FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel <= 2.4.31 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting

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.

Quick Answer

CVE-2025-6068 is a medium severity with CVSS 6.4 Stored Cross-Site Scripting issue affecting the Plugin Gallery by FooGallery. It affects Versions up to 2.4.31 and is fixed in 2.4.32.

Published
Jul 10, 2025
Last Updated
Jul 11, 2025
Slug
foogallery
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 2.4.32, or a newer patched version
Operator Briefing

CVE-2025-6068 is tracked for the Plugin Gallery by FooGallery as medium severity with CVSS 6.4. The affected range is Versions up to 2.4.31. Update Gallery by FooGallery to 2.4.32 or newer where that version is compatible with the site.

Issue Type
Stored Cross-Site Scripting
Primary Fixed Version
2.4.32
Primary Affected Range
Versions up to 2.4.31
Tracking ID
CVE-2025-6068
Detailed Metadata
Software Type Plugin
Software Slug
CVE CVE-2025-6068
Patched Versions
2.4.32
Affected Versions
Versions up to 2.4.31
Related CVE Cluster

Related CVEs for Gallery by FooGallery

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

High CVE-2023-44244 2.3.2 Sep 29, 2023
CVE-2023-44244 Gallery by FooGallery Cross-Site Scripting

FooGallery <= 2.2.44 - Reflected Cross-Site Scripting

Medium CVE-2026-25362 3.1.13 Feb 15, 2026
CVE-2026-25362 Gallery by FooGallery Stored Cross-Site Scripting

FooGallery <= 3.1.11 - Authenticated (Author+) Stored Cross-Site Scripting

Medium CVE-2024-12119 2.4.30 Mar 07, 2025
CVE-2024-12119 Gallery by FooGallery Stored Cross-Site Scripting

FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel <= 2.4.29 - Authenticated (Custom+) Stored Cross-Site Scripting via Album Title Size

Medium CVE-2024-2122 2.4.16 Jun 13, 2024
CVE-2024-2122 Gallery by FooGallery Stored Cross-Site Scripting

FooGallery <= 2.4.15 - Authenticated (Contributor+) Stored Cross-Site Scripting via Gallery Custom URL

Medium CVE-2024-2081 2.4.15 Apr 05, 2024
CVE-2024-2081 Gallery by FooGallery Stored Cross-Site Scripting

FooGallery <= 2.4.14 - Authenticated (Author+) Stored Cross-Site Scripting

Medium CVE-2024-2471 2.4.15 Apr 05, 2024
CVE-2024-2471 Gallery by FooGallery Stored Cross-Site Scripting

FooGallery <= 2.4.14 - Authenticated (Author+) Stored Cross-Site Scripting via Image Attachment Fields

Medium CVE-2021-24357 2.0.35 May 31, 2021
CVE-2021-24357 Gallery by FooGallery Stored Cross-Site Scripting

FooGallery <= 2.0.34 - Stored Cross-Site Scripting

Medium CVE-2025-22624 2.4.30 Feb 27, 2025
CVE-2025-22624 Gallery by FooGallery Cross-Site Scripting

FooGallery <= 2.4.29 - Reflected Cross-Site Scripting

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more