CVE-2025-27351

6.5 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in the WordPress Local Search SEO Contact Page plugin allows attackers to inject malicious scripts into web pages. When users view affected pages, the scripts execute in their browsers, potentially stealing credentials or performing unauthorized actions. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • WordPress Local Search SEO Contact Page plugin
Versions: n/a through 4.0.1
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects WordPress installations with the vulnerable plugin enabled. The vulnerability is in the contact page functionality where user input isn't properly sanitized.

⚠️ 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 administrator session cookies, take over WordPress sites, deface websites, redirect visitors to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Attackers inject malicious JavaScript to steal user session cookies, potentially compromising administrator accounts and gaining control over the WordPress site.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized before reaching users' browsers, preventing exploitation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Stored XSS vulnerabilities are commonly exploited. While no public PoC is confirmed, the vulnerability type and CVSS score suggest exploitation is straightforward for attackers with basic web security knowledge.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 4.0.2 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/local-search-seo-contact-page/vulnerability/wordpress-local-search-seo-contact-page-plugin-4-0-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 'Local Search SEO Contact Page'. 4. Click 'Update Now' if available. 5. If no update appears, manually download version 4.0.2+ from WordPress.org and replace the plugin files.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the Local Search SEO Contact Page plugin until patched

wp plugin deactivate local-search-seo-contact-page

Implement WAF rules

all

Configure web application firewall to block XSS payloads targeting the contact page

🧯 If You Can't Patch

  • Disable the Local Search SEO Contact Page plugin immediately
  • Implement strict Content Security Policy (CSP) headers to mitigate script execution

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for 'Local Search SEO Contact Page' version. If version is 4.0.1 or earlier, you are vulnerable.

Check Version:

wp plugin get local-search-seo-contact-page --field=version

Verify Fix Applied:

After updating, verify plugin version shows 4.0.2 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to contact page endpoints with script tags or JavaScript payloads
  • Multiple failed login attempts following contact form submissions

Network Indicators:

  • HTTP requests containing <script> tags or JavaScript in contact form parameters
  • Unexpected outbound connections from WordPress server after contact form submissions

SIEM Query:

source="wordpress.log" AND ("<script" OR "javascript:" OR "onerror=" OR "onload=") AND uri_path="/contact"

🔗 References

📤 Share & Export