CVE-2025-62904

5.4 MEDIUM

📋 TL;DR

This vulnerability is a stored cross-site scripting (XSS) flaw in the WP Geo WordPress plugin, allowing attackers to inject malicious scripts into web pages that are then executed when viewed by other users. It affects all versions up to and including 3.5.1, potentially compromising users of WordPress sites with the plugin installed.

💻 Affected Systems

Products:
  • WP Geo WordPress plugin
Versions: n/a through <= 3.5.1
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All installations of WP Geo plugin within the affected version range are vulnerable by default; no special configuration is required.

⚠️ 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 steal session cookies, redirect users to malicious sites, or deface the website, leading to account takeover or data theft.

🟠

Likely Case

Attackers inject malicious scripts to steal user credentials or perform actions on behalf of authenticated users, causing reputational damage.

🟢

If Mitigated

With input validation and output encoding, the risk is reduced to minimal, preventing script execution and limiting impact.

🌐 Internet-Facing: HIGH, as the plugin is typically used on public WordPress sites, making it accessible to attackers over the internet.
🏢 Internal Only: LOW, unless the plugin is deployed on internal networks without internet exposure, but still poses risk if accessed by malicious insiders.

🎯 Exploit Status

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

Exploitation likely requires some level of user interaction or authentication to inject scripts, but details are not publicly disclosed.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 3.5.1 (check vendor for exact version)

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/wp-geo/vulnerability/wordpress-wp-geo-plugin-3-5-1-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 Geo and update to the latest version. 4. Verify the update completes successfully.

🔧 Temporary Workarounds

Disable WP Geo Plugin

all

Temporarily deactivate the plugin to prevent exploitation until a patch can be applied.

wp plugin deactivate wp-geo

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block XSS payloads targeting the plugin.
  • Restrict plugin access to trusted users only and monitor for suspicious input in logs.

🔍 How to Verify

Check if Vulnerable:

Check the plugin version in WordPress admin under Plugins > Installed Plugins; if version is 3.5.1 or earlier, it is vulnerable.

Check Version:

wp plugin get wp-geo --field=version

Verify Fix Applied:

After updating, confirm the plugin version is above 3.5.1 and test for XSS by attempting to inject scripts in input fields.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin endpoints with script tags or JavaScript payloads in parameters.

Network Indicators:

  • HTTP traffic containing malicious scripts directed at WP Geo plugin URLs.

SIEM Query:

source="web_logs" AND (uri_path="/wp-content/plugins/wp-geo/" OR user_agent CONTAINS "wp-geo") AND (message CONTAINS "<script>" OR message CONTAINS "javascript:")

🔗 References

📤 Share & Export