Booking for Appointments and Events Calendar <= 2.2 - Unauthenticated Stored Cross-Site Scripting via Customer Name Fields in Booking Submission
Strategic Overview
- Status
- Patched in 2.2.1
- Affected Plugin
- Booking for Appointments and Events Calendar – Amelia
- Affected Version
<= 2.2- CVSS
- 7.2High
- Weakness type
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CVE
CVE-2026-6286
At a glance
CVE-2026-6286 is a high-severity Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in the Booking for Appointments and Events Calendar WordPress plugin, affecting versions <= 2.2. It carries a CVSS score of 7.2 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 2.2.1; sites on affected versions should update now. Disclosed August 2026, reported by Lucas Montes (NiRoX).
Vulnerability Overview
The Booking for Appointments and Events Calendar – Amelia plugin for WordPress is vulnerable to Stored Cross-Site Scripting via customer name fields in versions up to and including 2.2. This is due to an authentication bypass where the AddBookingCommand explicitly skips nonce verification (Command.php line 186), allowing unauthenticated users to submit booking data. While the plugin applies sanitize_text_field() to customer firstName and lastName fields (BookingApplicationService.php lines 302-308), this function only removes HTML tags and preserves special characters including double quotes. The vulnerability manifests in the administrative Calendar view where a FullCalendar eventContent callback interpolates customer names directly into JavaScript template literals (redesign/dist/index.js line 199) and renders them via innerHTML without proper HTML entity encoding. Because double quotes are preserved, an attacker can inject payloads like '" onmouseover="alert(document.cookie)"' to break out of the title attribute and inject malicious event handlers. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that will execute when an administrator accesses the Calendar page and hovers over the malicious appointment.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user.
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Booking for Appointments and Events Calendar <= 2.2 carries this weakness at sanitize_text_field(), and reaching it takes no account at all. Cross-site scripting happens when input from a request is written into a page without being escaped for the context it lands in, so the browser parses attacker-supplied text as markup or script.
Injected script runs with the privileges of whoever views the affected page, which is how these flaws turn into administrator session theft, silent account creation or persistent backdoors in page content. For Booking for Appointments and Events Calendar the fix is 2.2.1: builds <= 2.2 are affected, anything from 2.2.1 onward is not.
Remediation
Update to version 2.2.1, or a newer patched version
How does WordSec protect against this?
Requests carrying this pattern arrive without a session, so nothing upstream of the firewall gets a chance to reject them: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: Booking for Appointments and Events Calendar 2.2.1 closes this, and updating the plugin is the step that ends it.
- Firewall
- Login Security
- Alerts
External References
Related records
Same weakness class
- 7.2CVE-2022-0834: Amelia <= 1.0.46 Stored Cross Site Scripting
CVE-2022-0834 - 6.4CVE-2023-6808: Booking for Appointments and Events… Stored XSS
CVE-2023-6808 - 6.4CVE-2023-50860: Booking for Appointments and Events… Stored XSS
CVE-2023-50860 - 6.1CVE-2024-1484: Booking for Appointments and Events… Reflected XSS
CVE-2024-1484
Other vulnerabilities in Booking for Appointments and Events Calendar – Amelia
- 8.8CVE-2026-48889: Booking for Appointments… Privilege Escalation
CVE-2026-48889 - 8.8CVE-2026-5465: Amelia IDOR
CVE-2026-5465 - 8.8CVE-2026-2931: Amelia Booking 8.3 - 9.1.2 IDOR
CVE-2026-2931 - 8.8CVE-2026-24963: Booking for Appointments… Privilege Escalation
CVE-2026-24963 - 8.8CVE-2022-0687: Appointment and Event… Arbitrary File Upload
CVE-2022-0687 - 7.5CVE-2026-57702: Booking for Appointments and Events… SQL Injection
CVE-2026-57702 - 7.5CVE-2025-12482: Booking for Appointments and Events… SQL Injection
CVE-2025-12482 - 6.5CVE-2026-4668: Amelia <= 2.1.2 SQL Injection
CVE-2026-4668
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C