CVE-2025-13497
📋 TL;DR
The Recras WordPress plugin has a stored cross-site scripting vulnerability that allows authenticated attackers with Contributor-level access or higher to inject malicious scripts into website pages. These scripts execute whenever users visit the compromised pages, potentially stealing credentials or performing unauthorized actions. This affects all WordPress sites using Recras plugin versions up to 6.4.1.
💻 Affected Systems
- Recras 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, hijack user sessions, redirect visitors to malicious sites, or deface the website completely.
Likely Case
Attackers with contributor access inject malicious scripts to steal user cookies/sessions or display unwanted content on vulnerable pages.
If Mitigated
With proper user role management and input validation, impact is limited to isolated page defacement or minor content manipulation.
🎯 Exploit Status
Exploitation requires authenticated access but is straightforward once attacker has Contributor-level credentials.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 6.4.2 or later
Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3432851/
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find Recras plugin and click 'Update Now'. 4. Verify version is 6.4.2 or higher.
🔧 Temporary Workarounds
Remove Contributor Role Access
allTemporarily remove Contributor role permissions or restrict user registration to prevent exploitation.
Use WordPress user management to modify role capabilities
Disable Recras Plugin
linuxTemporarily disable the Recras plugin until patched.
wp plugin deactivate recras
🧯 If You Can't Patch
- Restrict user roles to only trusted administrators
- Implement web application firewall with XSS protection rules
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel → Plugins → Recras → Version number. If version is 6.4.1 or lower, system is vulnerable.
Check Version:
wp plugin list --name=recras --field=version
Verify Fix Applied:
After updating, verify version shows 6.4.2 or higher in WordPress plugins list.
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to WordPress admin-ajax.php with recrasname parameters
- Multiple failed login attempts followed by successful Contributor-level login
Network Indicators:
- Injected script tags in HTTP responses containing recrasname attributes
- External JavaScript calls from WordPress pages
SIEM Query:
source="wordpress.log" AND ("recrasname" OR "OnlineBooking.php") AND status=200
🔗 References
- https://plugins.trac.wordpress.org/browser/recras/tags/6.4.1/src/OnlineBooking.php#L144
- https://plugins.trac.wordpress.org/browser/recras/trunk/src/OnlineBooking.php#L144
- https://plugins.trac.wordpress.org/changeset/3432851/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/ef93491a-5965-4289-b72c-d1568ff4e6e8?source=cve