CVE-2025-12804

6.4 MEDIUM

📋 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

Products:
  • Booking Calendar WordPress Plugin
Versions: All versions up to and including 10.14.6
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Booking Calendar plugin and at least one user with contributor-level access or higher.

⚠️ 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 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.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

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

all

Remove 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

all

Remove 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:"))

🔗 References

📤 Share & Export