Description
The Gallery : FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'custom_settings' Shortcode Attribute in all versions up to, and including, 3.3.2 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: 2026-09-05
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Gallery : FooGallery plugin for WordPress is affected by a stored Cross‑Site Scripting flaw in the 'custom_settings' shortcode attribute. An authenticated user with contributor or higher privileges can insert arbitrary scripts that are persisted and served to other site visitors when a gallery page is rendered. The vulnerability arises from insufficient input sanitization and output escaping, as documented by the referenced source code lines. As a result, attackers can hijack the victim’s session, deface content, or perform account takeover via malicious scripts, compromising confidentiality and integrity of users who view the gallery.

Affected Systems

The vulnerability applies to all Fooplugins Gallery : FooGallery installations up to and including version 3.3.2. Administrators should check the current plugin version, and any site running 3.3.2 or earlier is at risk. The plugin is a WordPress extension maintained by Fooplugins, widely deployed across public and private WordPress sites.

Risk and Exploitability

With a CVSS base score of 6.4, the flaw is considered moderate severity. The EPSS score is not available, but the KEV list confirms it is not yet identified as a known exploited vulnerability. Attackers would require authenticated Contributor‑level access, which many sites grant to content editors, so the attack surface is relatively high for active sites. Once the malicious script is stored, any subsequent visitor to the impacted gallery page will execute the payload in their browser, enabling session hijacking, defacement, or phishing. While the flaw does not provide direct remote code execution on the server, the potential damage to user trust and site reputation is significant.

Generated by OpenCVE AI on September 5, 2026 at 08:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest FooGallery version that includes the input sanitization fix (version 3.3.3 or later).
  • If upgrading is not immediately possible, remove or sanitize the 'custom_settings' shortcode attribute from all gallery instances and restrict contributor permissions so that contributors cannot edit gallery settings.
  • Deploy a web application firewall rule that blocks script injections in the 'custom_settings' attribute or disable the plugin entirely if it is not required.

Generated by OpenCVE AI on September 5, 2026 at 08:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 05 Sep 2026 07:45:00 +0000

Type Values Removed Values Added
Description The Gallery : FooGallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'custom_settings' Shortcode Attribute in all versions up to, and including, 3.3.2 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 Gallery : FooGallery <= 3.3.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'custom_settings' Shortcode Attribute
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

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-05T07:38:13.921Z

Reserved: 2026-09-03T19:05:52.726Z

Link: CVE-2026-85414

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T08:16:40.993

Modified: 2026-09-05T08:16:40.993

Link: CVE-2026-85414

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T08:30:06Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')