CVE-2025-15283

7.2 HIGH

📋 TL;DR

The Name Directory WordPress plugin up to version 1.30.3 has a stored cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts into website pages. When users visit compromised pages, the scripts execute in their browsers, potentially stealing credentials or performing unauthorized actions. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • WordPress Name Directory Plugin
Versions: All versions up to and including 1.30.3
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All installations with the plugin enabled are vulnerable regardless of configuration settings.

⚠️ 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 session cookies, take over WordPress sites, install backdoors, redirect visitors to malicious sites, or deploy ransomware notices.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies, redirect users to phishing pages, or deface websites with malicious content.

🟢

If Mitigated

With proper web application firewalls and content security policies, malicious scripts would be blocked from executing, limiting impact to attempted attacks.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

The vulnerability requires no authentication and exploitation is straightforward via HTTP POST requests to vulnerable endpoints.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.30.4 or later

Vendor Advisory: https://plugins.trac.wordpress.org/browser/name-directory/tags/1.30.4

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find Name Directory plugin. 4. Click 'Update Now' if update available. 5. If no update appears, manually download version 1.30.4+ from WordPress.org and replace plugin files.

🔧 Temporary Workarounds

Disable Name Directory Plugin

linux

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate name-directory

Implement Content Security Policy

all

Add CSP headers to block inline script execution

Add to .htaccess: Header set Content-Security-Policy "default-src 'self'; script-src 'self'"
Or add to wp-config.php: header("Content-Security-Policy: default-src 'self'; script-src 'self'");

🧯 If You Can't Patch

  • Disable the Name Directory plugin immediately
  • Implement a web application firewall (WAF) with XSS protection rules

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Name Directory → Version number. If version is 1.30.3 or lower, you are vulnerable.

Check Version:

wp plugin get name-directory --field=version

Verify Fix Applied:

After updating, verify plugin version shows 1.30.4 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /wp-admin/admin-ajax.php with name_directory_name or name_directory_description parameters containing script tags
  • Multiple failed XSS attempts in web server logs

Network Indicators:

  • HTTP POST requests containing <script> tags in parameters
  • Unusual outbound connections from WordPress site after visiting name directory pages

SIEM Query:

source="web_server_logs" AND ("name_directory_name" OR "name_directory_description") AND ("<script>" OR "javascript:" OR "onload=" OR "onerror=")

🔗 References

📤 Share & Export