CVE-2025-13705

6.4 MEDIUM

📋 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

Products:
  • Custom Frames WordPress Plugin
Versions: All versions up to and including 1.0.1
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin enabled. Contributor-level access or higher is needed for exploitation.

⚠️ 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.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. 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.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

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

all

Temporarily deactivate the Custom Frames plugin until patched

wp plugin deactivate custom-frames

Remove Contributor Access

all

Temporarily 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=")

🔗 References

📤 Share & Export