CVE-2025-30588

7.1 HIGH

📋 TL;DR

This CSRF vulnerability in the Map Contact WordPress plugin allows attackers to trick authenticated administrators into executing malicious actions, which can lead to stored cross-site scripting (XSS). Attackers can inject malicious scripts that execute in victims' browsers when they visit compromised pages. This affects all WordPress sites using Map Contact plugin versions up to 3.0.4.

💻 Affected Systems

Products:
  • WordPress Map Contact plugin
Versions: n/a through 3.0.4
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Map Contact plugin enabled. Attack requires 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 could inject persistent malicious scripts that steal administrator credentials, hijack sessions, deface websites, or redirect visitors to malicious sites, potentially compromising the entire WordPress installation.

🟠

Likely Case

Attackers create fake admin actions that inject malicious JavaScript into website pages, affecting visitors who view those pages with session hijacking or credential theft.

🟢

If Mitigated

With proper CSRF protections and content security policies, the attack surface is reduced, though the vulnerability still exists in the codebase.

🌐 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 performing an action. The CSRF leads to stored XSS payload injection.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 3.0.4

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/map-contact/vulnerability/wordpress-map-contact-plugin-3-0-4-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 'Map Contact' plugin. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and delete plugin, then install latest version from WordPress repository.

🔧 Temporary Workarounds

Implement CSRF Protection

all

Add CSRF tokens to all form submissions and AJAX requests in the plugin

Content Security Policy

all

Implement strict CSP headers to mitigate XSS impact

🧯 If You Can't Patch

  • Disable or remove the Map Contact plugin entirely
  • Restrict admin access to trusted networks only and implement multi-factor authentication

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for Map Contact version. If version is 3.0.4 or earlier, you are vulnerable.

Check Version:

wp plugin list --name=map-contact --field=version (if WP-CLI installed)

Verify Fix Applied:

After updating, verify Map Contact plugin version is higher than 3.0.4 in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to Map Contact admin endpoints
  • Unexpected JavaScript injection in page content

Network Indicators:

  • CSRF attack patterns with referrer mismatches
  • Malicious script loading from unexpected sources

SIEM Query:

source="wordpress" AND (uri_path="/wp-admin/admin-ajax.php" OR uri_path CONTAINS "map-contact") AND status=200 AND referrer NOT CONTAINS own_domain

🔗 References

📤 Share & Export