Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/ameliabooking/tags/2.1.3/redesign/dis
- https://plugins.trac.wordpress.org/browser/ameliabooking/tags/2.1.3/src/Applicat
- https://plugins.trac.wordpress.org/browser/ameliabooking/tags/2.1.3/src/Applicat
- https://plugins.trac.wordpress.org/browser/ameliabooking/tags/2.1.3/src/Applicat
- https://plugins.trac.wordpress.org/browser/ameliabooking/trunk/redesign/dist/ind
- https://plugins.trac.wordpress.org/browser/ameliabooking/trunk/src/Application/C
- https://plugins.trac.wordpress.org/browser/ameliabooking/trunk/src/Application/C
- https://plugins.trac.wordpress.org/browser/ameliabooking/trunk/src/Application/S
- https://plugins.trac.wordpress.org/changeset/3499608/
- https://plugins.trac.wordpress.org/changeset/3505826/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/a330336e-82ad-41f4-b1b
FAQ
What is CVE-2026-6286?
CVE-2026-6286 is a vulnerability with a CVSS score of 7.2 (HIGH). 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...
How severe is CVE-2026-6286?
CVE-2026-6286 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-6286?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.