Skip to main content

Final Tiles Gallery CVE-2025-13693

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-21 security@wordfence.com
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 Author-level WordPress account
  2. Delivery
    Inject payload into 'Custom scripts' gallery setting
  3. Exploit
    Stored script served on gallery page
  4. Execution
    Victim (incl. admin) loads page
  5. Impact
    Script executes in victim browser

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 an authenticated account with Author-level capability or higher on the target WordPress site, and the site must be running the Image Photo Gallery Final Tiles Grid plugin version 3.6.8 or earlier with the 'Custom scripts' gallery setting accessible. The payload only fires when a user actually loads a page/gallery containing the injected script, so impact depends on a victim viewing the affected content. Limiting factors: this is NOT remote-unauthenticated - it is gated behind a trusted privileged role, so single-author or tightly-controlled sites face minimal exposure, while multi-author or open-registration-with-elevated-roles sites are the realistic risk surface.

Impact

This is a moderate-risk, authenticated stored XSS (CWE-79) that is unlikely to be a top-tier emergency but should be patched in normal cycles. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N, base 6.4) shows network attack vector and low complexity, but critically requires PR:L - the description specifies Author-level access and above - so this is NOT exploitable by anonymous internet users and depends on an attacker already holding a trusted contributor account. Signals are consistent and point to low real-world urgency: EPSS is 0.23% (13th percentile), there is no CISA KEV listing, and no public POC is referenced in the data, so exploitation status is 'no public exploit identified at time of analysis.' No SSVC decision data was supplied. The main tension is between the 'network' attack vector and the real precondition of a privileged, authenticated account, which sharply narrows the realistic threat population to multi-author sites or sites where an attacker can register/compromise an Author account. Verify affected-version boundary (fixed after 3.6.8) against the vendor changeset before deprioritizing entirely.

Exploit ScenarioDerived

An attacker who already holds (or has compromised) an Author-level or higher account on a multi-author WordPress site injects malicious JavaScript into the plugin's 'Custom scripts' gallery setting; the payload is stored and then executes in the browser of any user - including administrators - who views a page containing the affected gallery. No public exploit code is referenced, and successful exploitation requires low attack complexity but an authenticated privileged account.

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 – Oct 19, 2026

Stored cross-site scripting in the Image Photo Gallery Final Tiles Grid plugin for WordPress (all versions up to and including 3.6.8) lets authenticated users holding Author-level capability or higher plant arbitrary JavaScript through the gallery 'Custom scripts' setting, which is stored without adequate sanitization and emitted without output escaping. The injected script runs in the browser of anyone who later views an affected page or gallery, including higher-privileged users such as editors and administrators, which is why the vector carries a changed scope (S:C) despite a modest CVSS of 6.4. Risk is bounded by the Author-level prerequisite - not remote unauthenticated - and no public exploit code or confirmed active exploitation was identified at time of analysis, with EPSS at 0.23% (13th percentile).

RemediationAI

Upstream fix work is visible in the WordPress.org plugin repository at changeset 3418337, which patches the gallery-class.php handling of the 'Custom scripts' setting; because no tagged patched version number is confirmed in the supplied data, treat the fix as an upstream commit and verify the installed plugin version against the plugin's changelog before relying on it, then update to the latest release through the WordPress admin or WP-CLI (wp plugin update final-tiles-grid-gallery-lite). Until the update is applied, reduce exposure by tightening role assignments so only trusted accounts hold Author capability or higher (side effect: editorial throughput on multi-author or open-registration sites drops), by auditing existing galleries for injected script content and clearing any 'Custom scripts' values you did not author (side effect: legitimate custom markup must be re-added, ideally through a reviewed snippet plugin), and by deactivating the plugin where galleries are not essential (side effect: existing galleries stop rendering and shortcodes may leave empty containers). A WAF rule or virtual patch filtering script tags and event-handler attributes in gallery save requests provides interim coverage with the usual false-positive risk on legitimate custom markup, and reviewing wp_users plus recent post revisions for unexpected administrator accounts or injected content is advisable on any site where lower-trust users had Author access while 3.6.8 or earlier was installed.

Affected ProductsAI

The Image Photo Gallery Final Tiles Grid plugin (final-tiles-grid-gallery-lite) for WordPress is affected in every release up to and including 3.6.8, covering both the tagged 3.6.6 code referenced in NVD and the current trunk at the time of the report; no CPE identifiers were supplied, so scoping must be done by plugin slug and version rather than by formal CPE matching. The vulnerable code path is lib/gallery-class.php around line 126, where the 'Custom scripts' setting is processed. Sites running the Lite edition of the plugin from the WordPress.org repository, or bundling it in themes and agency builds, should inventory their installed version, and the vendor advisories at plugins.trac.wordpress.org (tag 3.6.6 and trunk views of gallery-class.php, plus changeset 3418337) and the Wordfence threat-intel entry (625d2b09-a6b9-4c0c-8c36-3c565e688aac) provide the authoritative affected-version confirmation.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

The flaw is a CWE-79 stored/persistent cross-site scripting issue in a WordPress plugin that renders masonry-style image galleries. The plugin exposes a 'Custom scripts' gallery setting intended to let site owners embed markup or script snippets alongside a gallery; the referenced source (lib/gallery-class.php, line 126 in both tag 3.6.6 and trunk) shows the value being handled without sanitization on input and without escaping on output, so whatever an Author submits is persisted and later written verbatim into pages. Because WordPress grants Author roles the ability to create and manage their own posts but normally withholds unfiltered_html, this represents a privilege-escalation-adjacent XSS: script injected by a relatively low-trust account executes in the security context of the site for every viewer, enabling session/token theft against administrators, creation of rogue admin accounts, or content defacement. The CVSS:3.1 vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N reflects network reachability, low attack complexity, a low-privilege authenticated attacker, no user interaction required by the attacker to store the payload, and cross-boundary impact - though the payload only detonates when a victim actually loads the compromised gallery page.

Know when Wordpress Plugin 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 6.4 MEDIUM

Requires an authenticated Author-level account so PR:L; stored script executes in another user's browser context giving S:C with limited C:L/I:L and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/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 Image Photo Gallery Final Tiles Grid plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Custom scripts' setting in all versions up to, and including, 3.6.8 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Author-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 87% exploitable
Prevalence
Low
niche WordPress gallery plugin, modest install base, not core infrastructure
Data Quality
3 sources
Confidence: Low

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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

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-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

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