Booking for Appointments and Events Calendar <= 2.2 - Unauthenticated Stored Cross-Site Scripting via Customer Name Fields in Booking Submission
Summary
| CVE | CVE-2026-6286 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-28 08:16:41 UTC |
| Updated | 2026-08-28 20:19:39 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.2 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
EPSS: 0.004440000 probability, percentile 0.368500000 (date 2026-08-28)
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Melograno | Booking For Appointments And Events Calendar Amelia | affected 2.2 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/ameliabooking/tags/2.1.3/src/Application/Commands/Com... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/ameliabooking/trunk/src/Application/Commands/Command.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/ameliabooking/trunk/redesign/dist/index.js | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/changeset/3499608 | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/changeset/3505826 | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/ameliabooking/tags/2.1.3/redesign/dist/index.js | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/a330336e-82ad-41f4-b1b1-d93d9... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/ameliabooking/tags/2.1.3/src/Application/Commands/Boo... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/ameliabooking/tags/2.1.3/src/Application/Services/Boo... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/ameliabooking/trunk/src/Application/Services/Booking/... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/ameliabooking/trunk/src/Application/Commands/Booking/... | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Lucas Montes (NiRoX) (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-04-14T15:53:48.000Z | Vendor Notified |
| CNA | 2026-08-27T00:00:00.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.