CVE-2025-13525
📋 TL;DR
The WP Directory Kit WordPress plugin has a reflected cross-site scripting (XSS) vulnerability in the 'order_by' parameter that allows unauthenticated attackers to inject malicious scripts. When users click specially crafted links, attackers can steal session cookies, redirect users, or perform actions on their behalf. All WordPress sites using WP Directory Kit version 1.4.5 or earlier are affected.
💻 Affected Systems
- WP Directory Kit 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 steal administrator session cookies, gain full control of the WordPress site, install backdoors, deface the site, or steal sensitive data.
Likely Case
Attackers steal user session cookies, redirect users to phishing sites, or perform limited actions within the user's context.
If Mitigated
With proper input validation and output escaping, the vulnerability is prevented and no exploitation occurs.
🎯 Exploit Status
Exploitation requires tricking users into clicking malicious links. The vulnerability is well-documented with public proof-of-concept references.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.4.6 or later
Vendor Advisory: https://wordpress.org/plugins/wpdirectorykit/
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find WP Directory Kit and click 'Update Now'. 4. Verify the plugin version is 1.4.6 or higher.
🔧 Temporary Workarounds
Disable WP Directory Kit Plugin
allTemporarily disable the vulnerable plugin until patching is possible
wp plugin deactivate wpdirectorykit
Web Application Firewall Rule
allBlock malicious 'order_by' parameter values at the WAF level
Add WAF rule to block requests containing script tags or JavaScript in order_by parameter
🧯 If You Can't Patch
- Implement strict Content Security Policy (CSP) headers to prevent script execution from untrusted sources
- Use browser security extensions that block reflected XSS attacks
🔍 How to Verify
Check if Vulnerable:
Check if WP Directory Kit plugin is installed and version is 1.4.5 or earlier in WordPress admin → Plugins
Check Version:
wp plugin list --name=wpdirectorykit --field=version
Verify Fix Applied:
Verify plugin version is 1.4.6 or higher and test the order_by parameter with XSS payloads
📡 Detection & Monitoring
Log Indicators:
- HTTP requests containing 'order_by' parameter with script tags or JavaScript code
- Unusual referrer URLs containing encoded script payloads
Network Indicators:
- Malicious links sent to users containing the vulnerable order_by parameter
- Outbound connections to attacker-controlled domains after clicking suspicious links
SIEM Query:
source="web_access_logs" AND uri="*order_by=*<script>*" OR uri="*order_by=*javascript:*"
🔗 References
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/tags/1.4.4/application/views/wdk_messages/index.php#L38
- https://plugins.trac.wordpress.org/browser/wpdirectorykit/tags/1.4.4/application/views/wdk_messages/index.php#L39
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3401078%40wpdirectorykit&new=3401078%40wpdirectorykit&sfp_email=&sfph_mail=
- https://wordpress.org/plugins/wpdirectorykit/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/01cd3631-93fb-4016-baa4-8ea11b21acec?source=cve