CVE-2025-22685

7.1 HIGH

📋 TL;DR

A Cross-Site Request Forgery (CSRF) vulnerability in the WordPress Tags to Keywords plugin allows attackers to inject malicious scripts via stored XSS. This affects WordPress sites using vulnerable versions of the plugin, potentially compromising site visitors and administrators.

💻 Affected Systems

Products:
  • WordPress Tags to Keywords plugin
Versions: n/a through 1.0.1
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects WordPress installations with the vulnerable plugin enabled.

⚠️ 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 malicious JavaScript that steals administrator credentials, defaces websites, or installs backdoors when administrators view affected pages.

🟠

Likely Case

Attackers trick administrators into performing actions that inject malicious scripts, which then execute in visitors' browsers to steal cookies or session tokens.

🟢

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: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires tricking an authenticated administrator into clicking a malicious link.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.2 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/tags-to-meta-keywords/vulnerability/wordpress-tags-to-keywords-plugin-1-0-1-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 'Tags to Keywords' plugin. 4. Click 'Update Now' if update available. 5. If no update, deactivate and delete plugin.

🔧 Temporary Workarounds

Disable plugin

all

Temporarily disable the vulnerable plugin until patched.

wp plugin deactivate tags-to-keywords

Implement CSRF tokens

all

Add CSRF protection to plugin forms if custom patching.

🧯 If You Can't Patch

  • Remove plugin entirely and use alternative keyword management solutions
  • Implement strict Content Security Policy (CSP) headers to mitigate XSS impact

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin > Plugins > Installed Plugins for 'Tags to Keywords' version 1.0.1 or earlier.

Check Version:

wp plugin get tags-to-keywords --field=version

Verify Fix Applied:

Verify plugin version is 1.0.2 or later in WordPress admin plugins list.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to wp-admin/admin-ajax.php or plugin endpoints
  • Administrator accounts performing unexpected plugin configuration changes

Network Indicators:

  • Requests containing malicious script patterns in form submissions

SIEM Query:

source="wordpress.log" AND ("tags-to-keywords" OR "admin-ajax.php") AND (POST OR "wp_nonce")

🔗 References

📤 Share & Export