CVE-2025-13705
📋 TL;DR
The Custom Frames WordPress plugin has a stored XSS vulnerability in all versions up to 1.0.1. Authenticated attackers with Contributor-level access or higher can inject malicious scripts via the 'class' parameter in shortcodes, which execute when users view affected pages. This affects all WordPress sites using vulnerable versions of the plugin.
💻 Affected Systems
- Custom Frames 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
Attackers could steal administrator credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.
Likely Case
Attackers with contributor accounts inject malicious scripts to steal user session cookies or perform actions on behalf of authenticated users.
If Mitigated
With proper input validation and output escaping, the vulnerability would be prevented entirely.
🎯 Exploit Status
Exploitation requires authenticated access but is technically simple once an attacker has contributor privileges.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.0.2 or later
Vendor Advisory: https://plugins.trac.wordpress.org/browser/custom-frames/trunk/class.customframes.php
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Custom Frames' and click 'Update Now'. 4. Verify the plugin version is 1.0.2 or higher.
🔧 Temporary Workarounds
Disable Plugin
allTemporarily deactivate the Custom Frames plugin until patched
wp plugin deactivate custom-frames
Remove Contributor Access
allTemporarily restrict contributor-level user creation and access
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block XSS payloads in 'class' parameters
- Regularly audit user accounts and remove unnecessary contributor-level access
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel → Plugins → Installed Plugins for Custom Frames version ≤1.0.1
Check Version:
wp plugin get custom-frames --field=version
Verify Fix Applied:
Confirm Custom Frames plugin version is 1.0.2 or higher in WordPress admin
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests containing script tags in 'class' parameters
- Multiple failed login attempts followed by successful contributor login
Network Indicators:
- HTTP requests with JavaScript payloads in URL parameters or POST data
SIEM Query:
source="wordpress.log" AND ("customframe" OR "class parameter") AND ("script" OR "javascript:" OR "onerror=")