CVE-2025-23691

7.1 HIGH

📋 TL;DR

This CSRF vulnerability in the WordPress Send to Twitter plugin allows attackers to trick authenticated administrators into performing actions that inject malicious scripts. When exploited, it leads to stored cross-site scripting (XSS) attacks. All WordPress sites using Send to Twitter plugin versions up to 1.7.2 are affected.

💻 Affected Systems

Products:
  • WordPress Send to Twitter plugin
Versions: n/a through 1.7.2
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress administrator access for exploitation via CSRF, but affects all visitors once XSS payload is stored.

⚠️ 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 inject persistent malicious scripts that steal administrator credentials, deface websites, redirect visitors to malicious sites, or install backdoors for further compromise.

🟠

Likely Case

Attackers would typically use this to inject advertising scripts, cryptocurrency miners, or credential-stealing payloads that affect all visitors to the compromised WordPress site.

🟢

If Mitigated

With proper CSRF protections and input validation, the vulnerability would be prevented from being exploited, maintaining normal plugin functionality.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

Exploitation requires tricking an authenticated administrator into clicking a malicious link or visiting a compromised page.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.7.2

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/send-to-twitter/vulnerability/wordpress-send-to-twitter-plugin-1-7-2-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 'Send to Twitter' plugin. 4. Click 'Update Now' if update is available. 5. If no update appears, manually download latest version from WordPress repository and replace plugin files.

🔧 Temporary Workarounds

Disable Send to Twitter plugin

all

Temporarily deactivate the vulnerable plugin until patched version is available

wp plugin deactivate send-to-twitter

Implement CSRF protection middleware

all

Add WordPress nonce verification to all plugin forms and AJAX requests

🧯 If You Can't Patch

  • Restrict administrator access to trusted networks only
  • Implement web application firewall (WAF) rules to block XSS payloads

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for Send to Twitter version. If version is 1.7.2 or earlier, system is vulnerable.

Check Version:

wp plugin get send-to-twitter --field=version

Verify Fix Applied:

After updating, verify Send to Twitter plugin version is higher than 1.7.2 in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to Send to Twitter plugin endpoints
  • Administrator account performing unexpected plugin configuration changes

Network Indicators:

  • Requests containing script tags or JavaScript payloads to plugin endpoints
  • Cross-origin requests to plugin admin functions

SIEM Query:

source="wordpress.log" AND ("send-to-twitter" OR "send_to_twitter") AND (POST OR "wp-admin/admin-ajax.php")

🔗 References

📤 Share & Export