Skip to main content

FooGallery CVE-2026-85414

| EUVDEUVD-2026-71932 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-05 Wordfence GHSA-hg52-mxw8-pwmh
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain or register contributor account
  2. Delivery
    Inject script payload into custom_settings shortcode attribute
  3. Exploit
    Publish post or page with malicious gallery shortcode
  4. Execution
    Victim administrator visits injected page
  5. Persist
    Injected JavaScript executes in admin browser context
  6. Impact
    Steal session cookies or forge privileged admin request

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to hold at minimum a WordPress contributor account on the target site - this is the binding prerequisite. The attacker must have the capability to create or edit posts or pages that include a FooGallery [foogallery] shortcode with the custom_settings attribute. A separate victim user - at minimum any authenticated WordPress user, but higher-privileged users such as editors or administrators are the high-value targets - must subsequently visit the page containing the injected shortcode for the XSS payload to execute. What limits exploitation: sites that prohibit open contributor self-registration, enforce MFA on contributor accounts, or restrict shortcode usage for lower-privileged roles face meaningfully reduced exposure. There is no path to exploitation without first obtaining contributor or higher access.

Impact

The provided CVSS 6.4 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) reflects a network-accessible, low-complexity flaw requiring only contributor-level authentication. The UI:N metric warrants scrutiny: stored XSS inherently requires a victim to visit the injected page before the payload fires, which most CVSS guidance classifies as UI:R - the published score may be marginally inflated as a result, and this assessment uses UI:R in its independent vector. No EPSS score, CISA KEV listing, or public POC is present in the available intelligence, indicating no confirmed or widespread exploitation at time of analysis. Real-world priority is strongly shaped by site configuration: even a mid-sized municipal IT team in inowroclaw running a WordPress installation with open contributor registration should treat this as an urgent remediation, given that a single rogue or compromised contributor account is sufficient to plant persistent payloads targeting administrative sessions. Sites that restrict contributor access to verified, trusted individuals face substantially reduced practical risk.

Exploit ScenarioDerived

An attacker registers or compromises a contributor-level account on a WordPress site running FooGallery ≤3.3.2, then creates or edits a post embedding a gallery shortcode with a malicious JavaScript payload in the custom_settings attribute. When an administrator visits the published page - for example, during routine content review - the injected script executes silently in the admin's browser, forging a request to create a backdoor administrator account or exfiltrating the admin's session token. No public exploit code has been identified, but the technique requires only standard shortcode knowledge.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 05, 2026

Stored XSS in the FooGallery WordPress plugin (all versions through 3.3.2) allows authenticated contributors to inject persistent JavaScript via the custom_settings shortcode attribute. The malicious payload executes in any visitor's browser when they access an affected page, enabling session hijacking, credential theft, or privilege escalation against higher-privileged users including site administrators. No public exploit code or CISA KEV listing has been identified, but the low privilege barrier - a contributor account - makes this realistically exploitable on sites with open or loosely managed contributor registration.

RemediationAI

Update the FooGallery plugin to the latest available version beyond 3.3.2. A fix has been committed to the WordPress plugin repository as changeset 3680965 (https://plugins.trac.wordpress.org/changeset/3680965/foogallery); the exact patched release version number is not independently confirmed from the available data, so administrators should verify the current stable release on the WordPress plugin directory before updating. As an interim workaround prior to patching, audit and restrict contributor-level accounts, removing any untrusted users who have access to post or page creation. Additionally, review existing pages for gallery shortcodes inserted by contributors and remove or quarantine any suspicious custom_settings attribute content. Restricting the use of the FooGallery shortcode via a shortcode management plugin (e.g., disabling it for contributor roles) is a viable compensating control but may disrupt legitimate content; weigh this trade-off against the site's contributor trust model.

Affected VersionsENISA

Gallery : FooGallery 0 ≤3.3.2

Affected Packages

euvd gallery_foogallery no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FooGallery is a WordPress gallery plugin distributed by FooPlugins (CPE: cpe:2.3:a:fooplugins:gallery_:_foogallery). It exposes a [foogallery] shortcode that accepts a custom_settings attribute, which is passed through JavaScript rendering logic in foogallery.4cc6f51b.js and PHP processing in class-gallery-advanced-settings.php and functions.php. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause: the plugin fails to sanitize shortcode attribute values before embedding them into page output, allowing attacker-controlled script content to persist in the WordPress database and execute in the victim's browser context. The CVSS scope change (S:C) accurately reflects XSS escaping the plugin's own execution context to compromise the broader browser session.

Know when Gallery gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Stored XSS requires victim to visit the injected page (UI:R); contributor authentication is required (PR:L); payload escapes plugin context to affect victim browser session (S:C).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
popular WordPress gallery plugin, tens of thousands of active installs
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2016-1000113 CRITICAL POC
9.8 Oct 06

XSS and SQLi in huge IT gallery v1.1.5 for Joomla. Rated critical severity (CVSS 9.8), this vulnerability is remotely ex

CVE-2023-0765 HIGH POC
8.8 Apr 17

The Gallery by BestWebSoft WordPress plugin before 4.7.0 does not properly escape values used in SQL queries, leading to

CVE-2013-2240 HIGH POC
7.5 Oct 10

lib/flowplayer.swf.php in Gallery 3 before 3.0.9 does not properly remove query fragments, which allows remote attackers

CVE-2016-1000114 MEDIUM POC
6.1 Oct 06

XSS in huge IT gallery v1.1.5 for Joomla. Rated medium severity (CVSS 6.1), this vulnerability is remotely exploitable,

CVE-2022-1946 MEDIUM POC
6.1 Jul 04

The Gallery WordPress plugin before 2.0.0 does not sanitise and escape a parameter before outputting it back in the resp

CVE-2012-2405 CRITICAL
10.0 Apr 22

Gallery 2 before 2.3.2 and 3 before 3.0.3 does not properly implement encryption, which has unspecified impact and attac

CVE-2023-0764 MEDIUM POC
5.4 Apr 17

The Gallery by BestWebSoft WordPress plugin before 4.7.0 does not perform proper sanitization of gallery information, le

CVE-2024-35750 HIGH
8.8 Jun 08

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in wpdevart Responsiv

CVE-2013-2138 HIGH
7.5 Oct 10

The (1) uploadify and (2) flowplayer SWF files in Gallery 3 before 3.0.8 do not properly remove query parameters and fra

CVE-2012-4343 HIGH
7.5 Aug 15

Multiple unspecified vulnerabilities in Gallery 3 before 3.0.4 allow attackers to execute arbitrary PHP code via unknown

CVE-2025-20968 HIGH
7.2 May 07

Improper access control in Samsung Gallery prior to version 14.5.10.3 in Global Android 13, 14.5.09.3 in China Android 1

CVE-2024-30550 HIGH
7.1 Mar 31

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in wpdevart Responsiv

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy