CVE-2025-23673

7.1 HIGH

📋 TL;DR

A Cross-Site Request Forgery (CSRF) vulnerability in the WordPress Email on Publish plugin allows attackers to perform stored cross-site scripting (XSS) attacks. This affects WordPress sites using Email on Publish plugin versions up to 1.5. Attackers can trick authenticated administrators into executing malicious actions.

💻 Affected Systems

Products:
  • WordPress Email on Publish plugin
Versions: n/a through 1.5
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable plugin version and administrator interaction with malicious content.

⚠️ 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 inject persistent malicious scripts that execute in administrators' browsers, potentially leading to complete site takeover, data theft, or malware distribution to visitors.

🟠

Likely Case

Attackers inject malicious JavaScript that steals administrator session cookies or credentials, leading to unauthorized administrative access.

🟢

If Mitigated

With proper CSRF protections and content security policies, the attack would fail or have limited impact.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

Requires social engineering to trick authenticated administrator into clicking malicious link while logged in.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.5

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/email-on-publish/vulnerability/wordpress-email-on-publish-plugin-1-5-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 'Email on Publish' plugin. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and remove plugin immediately.

🔧 Temporary Workarounds

Implement CSRF Protection Headers

all

Add Content-Security-Policy headers to prevent XSS execution

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

🧯 If You Can't Patch

  • Deactivate and remove the Email on Publish plugin immediately
  • Implement strict Content Security Policy (CSP) headers to block inline script execution

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for Email on Publish version 1.5 or earlier

Check Version:

wp plugin list --name='email-on-publish' --field=version

Verify Fix Applied:

Verify plugin version is greater than 1.5 or plugin is completely removed

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to wp-admin/admin-ajax.php or plugin endpoints
  • Multiple failed CSRF token validations
  • Unexpected plugin activation/deactivation events

Network Indicators:

  • Requests with suspicious JavaScript payloads in parameters
  • Cross-origin requests to plugin endpoints without proper referrer headers

SIEM Query:

source="wordpress.log" AND ("email-on-publish" OR "admin-ajax.php") AND (POST OR "csrf")

🔗 References

📤 Share & Export