CVE-2025-13525

6.1 MEDIUM

📋 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

Products:
  • WP Directory Kit WordPress Plugin
Versions: All versions up to and including 1.4.5
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires the plugin to be installed and activated. The vulnerable parameter is in the messages view component.

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

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

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

all

Temporarily disable the vulnerable plugin until patching is possible

wp plugin deactivate wpdirectorykit

Web Application Firewall Rule

all

Block 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

📤 Share & Export