CVE-2025-13725
📋 TL;DR
This vulnerability allows authenticated attackers with Contributor-level WordPress access to read arbitrary files on the server through the Gutenberg Thim Blocks plugin. Attackers can access sensitive files like wp-config.php containing database credentials and other configuration secrets. All WordPress sites using vulnerable versions of this plugin are affected.
💻 Affected Systems
- Gutenberg Thim Blocks – Page Builder, Gutenberg Blocks for the Block Editor WordPress 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
Complete server compromise via database credential theft from wp-config.php, leading to site takeover, data exfiltration, or ransomware deployment.
Likely Case
Sensitive file disclosure including database credentials, API keys, and configuration files, potentially enabling further attacks.
If Mitigated
Limited impact if proper file permissions restrict access to sensitive files and database credentials are rotated regularly.
🎯 Exploit Status
Exploitation requires authenticated access but is straightforward via manipulation of the iconSVG parameter in the thim-blocks/icon block.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Versions after 1.0.1
Vendor Advisory: https://plugins.trac.wordpress.org/browser/thim-blocks
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Gutenberg Thim Blocks' and click 'Update Now'. 4. Verify update to version after 1.0.1. 5. Clear any caching plugins/CDN caches.
🔧 Temporary Workarounds
Disable vulnerable plugin
allTemporarily disable the Thim Blocks plugin until patched
wp plugin deactivate thim-blocks
Restrict user roles
allTemporarily remove Contributor role access or restrict to trusted users only
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block requests containing path traversal patterns in iconSVG parameter
- Monitor file access logs for unusual patterns and implement strict file permissions on sensitive files like wp-config.php
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → Installed Plugins for 'Gutenberg Thim Blocks' version 1.0.1 or earlier
Check Version:
wp plugin get thim-blocks --field=version
Verify Fix Applied:
Verify plugin version is greater than 1.0.1 and test icon block functionality
📡 Detection & Monitoring
Log Indicators:
- HTTP requests to /wp-json/thim-blocks/v1/icon with suspicious iconSVG parameter values containing path traversal sequences (../, ..\)
- File read attempts on sensitive paths in web server logs
Network Indicators:
- POST requests to WordPress REST API endpoints with iconSVG parameter containing file paths
SIEM Query:
source="web_access_logs" AND uri="/wp-json/thim-blocks/v1/icon" AND (iconSVG="*../*" OR iconSVG="*..\\*")
🔗 References
- https://plugins.trac.wordpress.org/browser/thim-blocks/tags/1.0.1/inc/Gutenberg/Blocks/Icon/IconBlockType.php#L92
- https://plugins.trac.wordpress.org/browser/thim-blocks/tags/1.0.1/inc/Gutenberg/Blocks/Icon/IconBlockType.php#L97
- https://plugins.trac.wordpress.org/browser/thim-blocks/trunk/inc/Gutenberg/Blocks/Icon/IconBlockType.php#L92
- https://plugins.trac.wordpress.org/browser/thim-blocks/trunk/inc/Gutenberg/Blocks/Icon/IconBlockType.php#L97
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3419638%40thim-blocks&new=3419638%40thim-blocks&sfp_email=&sfph_mail=
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3424998%40thim-blocks&new=3424998%40thim-blocks&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/80de464f-a4b0-4aaf-8869-f8d29a422bdb?source=cve