CVE-2025-27351
📋 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
- WordPress Local Search SEO Contact Page plugin
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- 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.
🎯 Exploit Status
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
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
allTemporarily disable the Local Search SEO Contact Page plugin until patched
wp plugin deactivate local-search-seo-contact-page
Implement WAF rules
allConfigure 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"