CVE-2026-6286
Received Received - Intake

Stored XSS in Amelia WordPress Appointment Plugin

Vulnerability report for CVE-2026-6286, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-28

Last updated on: 2026-08-28

Assigner: Wordfence

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-28
Last Modified
2026-08-28
Generated
2026-08-28
AI Q&A
2026-08-28
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
wpamelia amelia to 2.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Stored Cross-Site Scripting (XSS) vulnerability in the Amelia WordPress plugin. It allows unauthenticated attackers to inject malicious scripts via customer name fields in booking data. The plugin fails to properly sanitize input, preserving special characters like double quotes, which can break out of JavaScript template literals and execute arbitrary code when an admin views the calendar.

Detection Guidance

Check WordPress installations for the Amelia plugin versions up to and including 2.2. Inspect customer booking data for unusual names containing JavaScript event handlers like onmouseover. Review server logs for unauthenticated booking submissions.

Impact Analysis

An attacker could steal admin session cookies, perform actions on your behalf, or deface your WordPress site. Since the exploit requires no authentication, any visitor could potentially compromise your site if they submit a malicious booking.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's integrity and confidentiality requirements. For HIPAA, it may expose protected health information if appointment data is compromised. Both standards require protecting against unauthorized script execution.

Mitigation Strategies

Update the Amelia plugin to the latest version beyond 2.2. Disable the plugin temporarily if an update is unavailable. Implement input validation for customer names to strip special characters. Monitor administrative Calendar pages for suspicious event content.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-6286. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart