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.
Published: 2025-07-11
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting in the Foogallery WordPress plugin
Action: Patch Now
AI Analysis

Impact

The Foogallery plugin contains a stored cross‑site scripting vulnerability that allows authenticated contributors to inject arbitrary web scripts through the `data-caption-title` and `data-caption-description` attributes. The input is insufficiently sanitized or escaped, so the malicious script will execute in any visitor’s browser when the gallery page containing the injected content is loaded, resulting in client‑side code execution on site visitors.

Affected Systems

The vulnerability affects WordPress installations running Foogallery plugin versions 2.4.31 and earlier under the vendor Fooplugins: Gallery by Foogallery.

Risk and Exploitability

The CVSS score of 6.4 classifies the flaw as moderate, while an EPSS score of less than 1 % indicates a low immediate exploitation probability. The flaw is not listed in the CISA KEV catalog. The vulnerability requires authenticated Contributor or higher access; if credentials are obtained, the injected script will run for all users who view the vulnerable gallery page.

Generated by OpenCVE AI on April 21, 2026 at 19:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Foogallery to a version newer than 2.4.31.
  • Temporarily reduce Contributor or higher role privileges until the plugin is updated, or review role permissions to minimize exposure.
  • If a patch is not yet available, restrict access to the gallery editor to trusted users only.

Generated by OpenCVE AI on April 21, 2026 at 19:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-21116 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.
History

Thu, 17 Jul 2025 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Fooplugins
Fooplugins foogallery
CPEs cpe:2.3:a:fooplugins:foogallery:*:*:*:*:-:wordpress:*:*
Vendors & Products Fooplugins
Fooplugins foogallery

Fri, 11 Jul 2025 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 11 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00029}


Fri, 11 Jul 2025 07:30:00 +0000

Type Values Removed Values Added
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.
Title FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel <= 2.4.31 - Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Fooplugins Foogallery
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:13:33.722Z

Reserved: 2025-06-13T14:00:13.538Z

Link: CVE-2025-6068

cve-icon Vulnrichment

Updated: 2025-07-11T16:52:18.469Z

cve-icon NVD

Status : Analyzed

Published: 2025-07-11T08:15:24.280

Modified: 2025-07-17T13:11:47.847

Link: CVE-2025-6068

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T19:45:16Z

Weaknesses