CVE-2025-8315
📋 TL;DR
The WP Easy Contact WordPress plugin has a stored XSS vulnerability in the 'noaccess_msg' parameter that allows authenticated attackers with Contributor access or higher to inject malicious scripts. These scripts execute when users view compromised pages, potentially stealing credentials or performing unauthorized actions. All WordPress sites using this plugin up to version 4.0.1 are affected.
💻 Affected Systems
- WP Easy Contact WordPress 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 credentials, deface websites, redirect users to malicious sites, or perform actions as authenticated users, potentially leading to complete site compromise.
Likely Case
Attackers inject malicious scripts to steal user session cookies or credentials, perform limited unauthorized actions, or display malicious content to visitors.
If Mitigated
With proper input validation and output escaping, the vulnerability is prevented, though the attack surface remains for other potential issues.
🎯 Exploit Status
Requires authenticated access (Contributor role or higher). Exploitation involves injecting scripts through the vulnerable parameter.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Version after 4.0.1
Vendor Advisory: https://wordpress.org/plugins/wp-easy-contact/#developers
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find WP Easy Contact plugin. 4. Click 'Update Now' if update available. 5. Alternatively, download latest version from WordPress repository and replace plugin files.
🔧 Temporary Workarounds
Remove Contributor Access
allTemporarily restrict Contributor role access or remove unnecessary Contributor users
Disable Plugin
allDeactivate WP Easy Contact plugin until patched
🧯 If You Can't Patch
- Implement strict Content Security Policy (CSP) headers to limit script execution
- Use web application firewall (WAF) rules to block XSS payloads in 'noaccess_msg' parameter
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Installed Plugins for WP Easy Contact version 4.0.1 or earlier
Check Version:
wp plugin list --name=wp-easy-contact --field=version (if WP-CLI installed)
Verify Fix Applied:
Verify plugin version is updated beyond 4.0.1 in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to contact forms with script tags in parameters
- Multiple failed login attempts followed by successful Contributor login
Network Indicators:
- HTTP requests containing script tags in 'noaccess_msg' parameter
- Outbound connections to suspicious domains from contact pages
SIEM Query:
source="wordpress.log" AND "noaccess_msg" AND ("<script>" OR "javascript:" OR "onerror=" OR "onload=")
🔗 References
- https://plugins.svn.wordpress.org/wp-easy-contact/tags/4.0.1/includes/emd-form-builder-lite/emd-form-frontend.php
- https://plugins.trac.wordpress.org/changeset/3337661
- https://wordpress.org/plugins/wp-easy-contact/#developers
- https://www.wordfence.com/threat-intel/vulnerabilities/id/229c88ea-c091-43b6-ac4d-31bccdd13a07?source=cve