Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-96573 Overview
CVE-2026-96573 is a stored DOM-based Cross-Site Scripting (XSS) vulnerability in the Appointment Hour Booking – Booking Calendar plugin for WordPress. The flaw affects all versions up to and including 1.5.97. It originates in the Schedule Calendar List Renderer, which processes Booking Form Single-Line Field input without sufficient sanitization or output escaping. Unauthenticated attackers can inject arbitrary JavaScript that executes in the browser of any user viewing an affected page. Exploitation requires the list_readmore_numberofwords Other Parameters setting to be configured with a positive integer value, as the default value of 0 bypasses the vulnerable decode-and-truncate branch.
Critical Impact
Unauthenticated attackers can inject persistent JavaScript into booking pages, enabling session hijacking, credential theft, and administrative account takeover when administrators view the compromised calendar.
Affected Products
- Appointment Hour Booking – Booking Calendar plugin for WordPress
- All versions up to and including 1.5.97
- Configurations where list_readmore_numberofwords is set to a positive integer
Discovery Timeline
- 2026-10-01 - CVE-2026-96573 published to NVD
- 2026-10-01 - Last updated in NVD database
Technical Details for CVE-2026-96573
Vulnerability Analysis
The vulnerability is a stored DOM-based XSS flaw classified under CWE-79. Attacker-controlled text submitted through a Booking Form Single-Line Field is persisted server-side, then rendered client-side by the plugin's Schedule Calendar List Renderer. The rendering path decodes and truncates the stored value before injecting it into the Document Object Model (DOM) without proper escaping. Because the sink executes in the browser context, server-side filters miss the payload entirely.
Attackers do not need authentication or user interaction beyond having an administrator or site visitor load the schedule page. The scope-changed CVSS vector indicates the injected script can affect resources beyond the vulnerable component, such as the WordPress admin session cookie context.
Root Cause
The root cause is insufficient input sanitization and output escaping within the plugin's list rendering logic. When list_readmore_numberofwords is configured with a positive integer, the renderer enters a decode-and-truncate branch that reconstructs raw user input and writes it into DOM nodes without encoding HTML control characters. The default configuration value of 0 short-circuits this branch, which is why only non-default configurations are exploitable. References point to the plugin files cp-main-class.inc.php and mv/js/jquery.calendar.js as the locations of the vulnerable sink.
Attack Vector
An unauthenticated attacker submits a booking form containing a crafted payload in a Single-Line Field. The payload is stored by the plugin and later rendered on the schedule calendar view. When any user, including administrators, loads the schedule page, the client-side renderer injects the attacker's payload into the DOM, causing arbitrary JavaScript execution under the site's origin. See the Wordfence Vulnerability Report and the WordPress Plugin Changeset Details for the patched sink locations.
Detection Methods for CVE-2026-96573
Indicators of Compromise
- Booking records containing <script>, onerror=, onload=, javascript:, or encoded HTML entities inside Single-Line Field values.
- Unexpected outbound requests from administrator browsers to attacker-controlled domains shortly after viewing the schedule calendar.
- New or modified WordPress administrator accounts created without a corresponding admin login event.
- Modifications to plugin or theme files timestamped after a schedule calendar page view by an admin.
Detection Strategies
- Audit the plugin's booking data store for stored form submissions containing HTML or JavaScript syntax in text fields.
- Review web server access logs for POST requests to the booking form endpoint containing suspicious payloads or long encoded strings.
- Inspect the plugin configuration for a non-zero list_readmore_numberofwords value, which indicates an exploitable configuration.
Monitoring Recommendations
- Enable Content Security Policy (CSP) reporting to capture inline script violations on pages that render booking calendars.
- Monitor WordPress audit logs for privilege changes, user creation, and plugin or theme file edits.
- Alert on administrator session cookies being used from new IP addresses or user agents following schedule page access.
How to Mitigate CVE-2026-96573
Immediate Actions Required
- Update the Appointment Hour Booking – Booking Calendar plugin to a version later than 1.5.97 as soon as the vendor publishes a fixed release.
- Set list_readmore_numberofwords to 0 in the Other Parameters settings to disable the vulnerable decode-and-truncate branch.
- Review stored booking submissions for malicious payloads and purge any entries containing script content.
- Rotate credentials and session tokens for any administrator who viewed the schedule calendar while the plugin was exploitable.
Patch Information
The plugin changeset referenced in the advisory indicates the vendor has committed fixes to the vulnerable rendering paths in cp-main-class.inc.php and the client-side jquery.calendar.js file. Review the WordPress Plugin Changeset Details and apply the latest plugin update from the WordPress plugin repository.
Workarounds
- Reset list_readmore_numberofwords to its default value of 0 to remove the exploitable code path without updating.
- Deploy a Web Application Firewall (WAF) rule blocking HTML tags and JavaScript event handlers in booking form text fields.
- Restrict access to the booking form to authenticated users via a reverse proxy or WordPress access control plugin until a patch is applied.
- Enforce a strict Content Security Policy that disallows inline scripts on pages rendering the booking calendar.
# Configuration example: set list_readmore_numberofwords to 0 via WP-CLI
wp option pluck cpabc_appointments_calendar_options list_readmore_numberofwords
wp option patch update cpabc_appointments_calendar_options list_readmore_numberofwords 0
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

