ZeroHour

CVE-2026-6286

large

Unauthenticated Stored XSS in Amelia WordPress Booking Calendar Plugin

CVSS 3.1
7.2 high
EPSS
<1%p37
Published
()
Modified
AI analysis

Amelia (the 'Booking for Appointments and Events Calendar' WordPress plugin) versions up to and including 2.2 are vulnerable to unauthenticated stored cross-site scripting (CWE-79), rated 7.2 High on CVSS 3.1. The plugin's AddBookingCommand explicitly skips nonce verification, so unauthenticated visitors can submit booking data, while customer first and last name fields are only passed through sanitize_text_field(), which strips HTML tags but preserves double quotes. Those names are later rendered in the administrative Calendar view, where a FullCalendar eventContent callback interpolates them into JavaScript template literals and writes them via innerHTML without HTML entity encoding, allowing a double-quoted name to break out of the title attribute and inject arbitrary event handlers. An unauthenticated attacker gains the ability to persist malicious web scripts that execute in an administrator's browser session when the admin opens the Calendar page and hovers over the crafted appointment; any WordPress site running Amelia 2.2 or earlier is affected. No public proof-of-concept is known, the flaw is not listed in CISA KEV, and an EPSS of 0.4% (37th percentile) indicates low expected near-term exploitation.

What to do: Update the Amelia plugin to the first release newer than 2.2 as soon as it is available (the advisory data does not specify a fixed version number) and verify the installed version on the WordPress Plugins screen. Until patched, consider WAF or virtual-patching rules that strip double quotes or event-handler patterns from customer name fields submitted to the booking endpoint, and audit stored customer first/last names for injected quote characters or handler strings. Since no public exploit is known and EPSS is low, treat this as patch-priority rather than an emergency, and monitor vendor or Wordfence advisories for a patched release.

Affected
TMS Plugins Booking for Appointments and Events Calendar - Amelia (WordPress plugin)up to and including 2.2
Estimated exposure
largeTens of thousands of WordPress sites (roughly 30,000-40,000 active installs of the Amelia plugin) — Estimate based on the Amelia plugin's public WordPress.org active-install count, which has historically been in the tens of thousands (around 30,000-40,000), assuming most deployments expose the front-end booking endpoint whose missing…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Ecosystems
WordPress
Weakness
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

In the news

No ingested article mentions this CVE yet.