CVE-2026-104646: Image Photo Gallery Final Tiles Grid < 3.6.14 - Contributor+ Stored XSS via Gallery Shortcode Attributes
The Image Photo Gallery Final Tiles Grid WordPress plugin before 3.6.14 does not sanitise several gallery configuration values that can be overridden through its gallery shortcode before printing them into an inline script block, allowing users with contributor-level access and above to inject arbitrary JavaScript that executes in the session of anyone viewing the post, including an administrator previewing a pending submission. No gallery ownership is required: any gallery that already exists on the site can be referenced.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Image Photo Gallery Final Tiles Gridto a version that resolves this vulnerability.Fixed in 3.6.14
Event History
Frequently Asked Questions
Which users can exploit this issue?
Any authenticated user with contributor-level access or higher can exploit it. The attacker does not need to own the gallery they reference.
What does an attacker need to do to trigger the vulnerability?
They need to submit content containing a gallery shortcode with overridden configuration attributes that reference an existing gallery on the site. When someone views the post, the injected JavaScript can execute in that viewer's session.
Who is at risk from a malicious submission?
Anyone viewing the affected post may be exposed, including an administrator who previews a pending contributor submission. The injected script runs in the session of the person viewing the content.
How can I determine whether the site is affected?
The affected plugin versions are those before 3.6.14. Exposure is especially relevant where contributor-or-higher accounts can create or submit posts containing gallery shortcodes.