CVE-2025-23463

7.1 HIGH

📋 TL;DR

This vulnerability in the WordPress MD Custom Content plugin allows attackers to perform Cross-Site Request Forgery (CSRF) attacks that lead to Stored Cross-Site Scripting (XSS). Attackers can trick authenticated administrators into executing malicious actions that inject persistent scripts into website content. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • WordPress MD Custom Content After or Before of Post plugin
Versions: All versions up to and including 1.0
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires plugin to be installed and active on WordPress site. Attack requires tricking authenticated admin user.

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

Complete site takeover through persistent XSS payloads that steal admin credentials, deface websites, or redirect visitors to malicious sites.

🟠

Likely Case

Website defacement, cookie theft from visitors, or injection of malicious scripts that affect site users.

🟢

If Mitigated

Limited impact with proper CSRF tokens and content sanitization in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires social engineering to trick authenticated admin into clicking malicious link while logged in.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.0 (check plugin repository for latest)

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/md-custom-content/vulnerability/wordpress-md-custom-content-after-or-before-of-post-plugin-1-0-csrf-to-stored-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'MD Custom Content After or Before of Post'. 4. Click 'Update Now' if available, or delete and install latest version from repository.

🔧 Temporary Workarounds

Disable vulnerable plugin

WordPress

Temporarily disable the plugin until patched version is available

wp plugin deactivate md-custom-content

Implement CSRF protection

WordPress

Add nonce verification to plugin forms and AJAX requests

Add wp_nonce_field() to forms and check_admin_referer() to processing

🧯 If You Can't Patch

  • Remove plugin entirely and use alternative content management solutions
  • Implement web application firewall (WAF) rules to block XSS payloads and suspicious POST requests

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin > Plugins > Installed Plugins for 'MD Custom Content After or Before of Post' version 1.0 or earlier

Check Version:

wp plugin get md-custom-content --field=version

Verify Fix Applied:

Verify plugin version is greater than 1.0 or plugin is removed/disabled

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to wp-admin/admin-ajax.php with plugin-specific actions
  • Multiple failed nonce verification attempts

Network Indicators:

  • Suspicious JavaScript payloads in POST parameters
  • Requests from unexpected referrers to admin endpoints

SIEM Query:

source="wordpress.log" AND ("md-custom-content" OR "admin-ajax.php") AND (POST AND NOT "_wpnonce")

🔗 References

📤 Share & Export