CVE-2025-13693
📋 TL;DR
This vulnerability allows authenticated WordPress users with Author-level permissions or higher to inject malicious scripts into the 'Custom scripts' setting of the Image Photo Gallery Final Tiles Grid plugin. The scripts are stored and execute whenever other users view affected gallery pages, enabling persistent cross-site scripting attacks. All WordPress sites using this plugin up to version 3.6.8 are affected.
💻 Affected Systems
- WordPress Image Photo Gallery Final Tiles Grid plugin
⚠️ Manual Verification Required
This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.
Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).
🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Attackers could steal administrator credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.
Likely Case
Attackers with author access inject malicious scripts to steal user session cookies, perform phishing attacks, or modify page content.
If Mitigated
With proper user access controls and content security policies, impact is limited to potential content manipulation within the plugin's scope.
🎯 Exploit Status
Exploitation requires Author-level WordPress credentials. The vulnerability is straightforward to exploit once authenticated.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 3.6.9 or later
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Image Photo Gallery Final Tiles Grid' and click 'Update Now'. 4. Verify version is 3.6.9 or higher.
🔧 Temporary Workarounds
Remove vulnerable plugin
allTemporarily disable or remove the plugin until patched
wp plugin deactivate final-tiles-grid-gallery-lite
wp plugin delete final-tiles-grid-gallery-lite
Restrict user roles
allLimit Author and higher roles to trusted users only
🧯 If You Can't Patch
- Implement Content Security Policy (CSP) headers to restrict script execution
- Regularly audit user accounts and remove unnecessary Author-level permissions
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for 'Image Photo Gallery Final Tiles Grid' version 3.6.8 or lower
Check Version:
wp plugin get final-tiles-grid-gallery-lite --field=version
Verify Fix Applied:
Verify plugin version is 3.6.9 or higher in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- Unusual modifications to gallery settings by Author-level users
- Multiple failed login attempts followed by successful Author-level login
Network Indicators:
- Unexpected script tags in gallery page responses
- External script loads from gallery pages
SIEM Query:
source="wordpress.log" AND ("gallery-class.php" OR "final-tiles-grid") AND ("update_option" OR "save_gallery")
🔗 References
- https://plugins.trac.wordpress.org/browser/final-tiles-grid-gallery-lite/tags/3.6.6/lib/gallery-class.php#L126
- https://plugins.trac.wordpress.org/browser/final-tiles-grid-gallery-lite/trunk/lib/gallery-class.php#L126
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3418337%40final-tiles-grid-gallery-lite&new=3418337%40final-tiles-grid-gallery-lite&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/625d2b09-a6b9-4c0c-8c36-3c565e688aac?source=cve