Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-104644 Overview
CVE-2026-104644 is a stored Cross-Site Scripting (XSS) vulnerability in the Image Photo Gallery Final Tiles Grid WordPress plugin versions prior to 3.6.15. The plugin fails to sanitize or escape gallery configuration values before echoing them into an inline script on every page that embeds the gallery. Authenticated users with contributor-level access or higher can inject JavaScript that executes in the browser of any visitor viewing the gallery, including administrators. The flaw is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation).
Critical Impact
Low-privileged contributors can store JavaScript that executes in administrator browsers, enabling account takeover, session theft, and persistent site compromise.
Affected Products
- Image Photo Gallery Final Tiles Grid WordPress plugin versions before 3.6.15
- WordPress sites allowing contributor-level or higher account registration
- Any page embedding the vulnerable gallery shortcode or block
Discovery Timeline
- 2026-10-14 - CVE-2026-104644 published to NVD
- 2026-10-14 - Last updated in NVD database
Technical Details for CVE-2026-104644
Vulnerability Analysis
The vulnerability resides in how the plugin renders gallery configuration data to the front end. Gallery configuration values supplied by authors are concatenated directly into an inline <script> block without context-aware encoding. When the gallery is embedded in a post or page, the browser parses the injected content as executable JavaScript rather than inert data.
Contributor-level accounts can create draft content containing a gallery with attacker-controlled configuration values. When an administrator previews or reviews the draft, the injected script executes in the administrator's authenticated session. This grants the attacker access to privileged WordPress APIs, including user creation and plugin installation endpoints.
Root Cause
The root cause is missing output encoding when gallery configuration is written into an inline script context. WordPress provides esc_js() for script-string contexts and wp_json_encode() for structured data, but the plugin uses neither. The result is a direct violation of secure output handling for a JavaScript sink.
Attack Vector
Exploitation requires an authenticated contributor account and administrator interaction with the attacker-authored content. The attack chain begins with the contributor creating or editing a gallery containing a malicious configuration payload. When any user with elevated privileges views the resulting page, the payload executes under that user's origin and session context. Attack telemetry can be reviewed in the WPScan vulnerability report.
Detection Methods for CVE-2026-104644
Indicators of Compromise
- Unexpected inline <script> content inside gallery markup on published or draft posts
- Gallery configuration records containing HTML tags, quotes, or JavaScript keywords such as onerror, fetch, or document.cookie
- New administrator accounts or modified user roles created shortly after an administrator viewed contributor content
- Outbound HTTP requests from administrator browsers to unfamiliar domains during WordPress admin sessions
Detection Strategies
- Query the WordPress postmeta and plugin options tables for gallery configuration values containing <, >, or javascript: substrings
- Review web server access logs for POST requests to admin-ajax.php or REST endpoints associated with the plugin from contributor accounts
- Compare the installed plugin version against 3.6.15 and flag any instance below that version as vulnerable
Monitoring Recommendations
- Enable WordPress audit logging to capture content edits performed by contributor and author roles
- Monitor administrator browser sessions for anomalous XHR or fetch activity against WordPress REST endpoints
- Alert on creation of new administrator users or changes to user capabilities outside normal maintenance windows
How to Mitigate CVE-2026-104644
Immediate Actions Required
- Update the Image Photo Gallery Final Tiles Grid plugin to version 3.6.15 or later on all WordPress installations
- Audit existing gallery entries created by contributor-level accounts for suspicious configuration values
- Review the WordPress user list and revoke any administrator accounts that cannot be attributed to legitimate staff
Patch Information
The vendor addressed the issue in version 3.6.15 by applying output escaping to gallery configuration values before they are rendered into inline script contexts. Site operators should upgrade through the WordPress plugin updater or by replacing the plugin directory with the patched release. Details are documented in the WPScan Vulnerability Report.
Workarounds
- Deactivate the plugin until the patched version can be deployed if immediate updating is not possible
- Restrict contributor and author roles from accessing gallery creation functionality using a role-management plugin
- Deploy a Web Application Firewall rule to strip <script> and event-handler attributes from plugin POST parameters
- Enforce a strict Content Security Policy that blocks inline script execution on content-rendering pages
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

