CVE-2025-68008

7.1 HIGH

📋 TL;DR

This vulnerability allows attackers to inject malicious scripts into web pages generated by the WP Mail plugin, which are then executed in victims' browsers when they visit manipulated links. It affects WordPress sites using WP Mail plugin versions up to and including 1.3. Attackers can steal session cookies, redirect users, or perform actions on their behalf.

💻 Affected Systems

Products:
  • WordPress WP Mail plugin
Versions: n/a through <= 1.3
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with vulnerable plugin versions are affected regardless of configuration.

⚠️ 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 WordPress site, install backdoors, deface website, or steal sensitive user data.

🟠

Likely Case

Attackers steal user session cookies to hijack accounts, redirect users to malicious sites, or display phishing content.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts are neutralized before reaching users' browsers.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Reflected XSS typically requires user interaction (clicking malicious link) but is trivial to exploit.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: >1.3

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/wp-mail/vulnerability/wordpress-wp-mail-plugin-1-3-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find WP Mail plugin. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and delete plugin immediately.

🔧 Temporary Workarounds

Disable WP Mail plugin

all

Temporarily disable the vulnerable plugin until patched version is available.

wp plugin deactivate wp-mail

Implement WAF rules

all

Configure web application firewall to block XSS payloads targeting WP Mail endpoints.

🧯 If You Can't Patch

  • Remove WP Mail plugin completely and use alternative email functionality
  • Implement Content Security Policy (CSP) headers to restrict script execution

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for WP Mail version <=1.3

Check Version:

wp plugin get wp-mail --field=version

Verify Fix Applied:

Verify WP Mail plugin version is >1.3 or plugin is removed from system

📡 Detection & Monitoring

Log Indicators:

  • Unusual GET/POST requests to wp-mail endpoints with script tags or JavaScript payloads
  • Multiple failed login attempts following suspicious URL visits

Network Indicators:

  • HTTP requests containing <script>, javascript:, or encoded XSS payloads in URL parameters

SIEM Query:

source="web_server" AND (uri="*wp-mail*" AND (uri="*<script>*" OR uri="*javascript:*" OR uri="*%3Cscript%3E*"))

🔗 References

📤 Share & Export