CVE-2025-12804
📋 TL;DR
The Booking Calendar WordPress plugin has a stored XSS 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. All WordPress sites using Booking Calendar versions up to 10.14.6 are affected.
💻 Affected Systems
- Booking Calendar 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 install backdoors for persistent access.
Likely Case
Attackers with contributor accounts inject malicious scripts to steal user session cookies or credentials, potentially compromising user accounts.
If Mitigated
With proper user access controls and input validation, the risk is limited to authorized users misusing their privileges.
🎯 Exploit Status
Exploitation requires authenticated access but is straightforward once an attacker has contributor-level credentials.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 10.14.7 or later
Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3391614/booking
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find Booking Calendar and click 'Update Now'. 4. Verify version is 10.14.7 or higher.
🔧 Temporary Workarounds
Disable Booking Calendar Shortcode
allRemove or disable the bookingcalendar shortcode from all posts and pages
UPDATE wp_posts SET post_content = REPLACE(post_content, '[bookingcalendar', '[DISABLED-bookingcalendar') WHERE post_content LIKE '%[bookingcalendar%';
Restrict User Roles
allRemove contributor-level access from untrusted users and implement least privilege
🧯 If You Can't Patch
- Implement strict Content Security Policy (CSP) headers to prevent script execution
- Use web application firewall (WAF) rules to block XSS payloads in shortcode attributes
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Booking Calendar version. If version is 10.14.6 or lower, you are vulnerable.
Check Version:
wp plugin get booking --field=version
Verify Fix Applied:
After updating, verify Booking Calendar version shows 10.14.7 or higher in WordPress admin plugins page.
📡 Detection & Monitoring
Log Indicators:
- Unusual shortcode modifications in post/page edits
- Multiple failed login attempts followed by successful contributor login
Network Indicators:
- Suspicious JavaScript payloads in HTTP POST requests to wp-admin/post.php
SIEM Query:
source="wordpress.log" AND ("[bookingcalendar" AND ("script" OR "onerror" OR "javascript:"))