🔐 CVE Alert

CVE-2026-4668

MEDIUM 6.5

Amelia <= 2.1.2 - Authenticated (Manager+) SQL Injection via 'sort' Parameter

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

The Booking for Appointments and Events Calendar - Amelia plugin for WordPress is vulnerable to SQL Injection via the `sort` parameter in the payments listing endpoint in all versions up to, and including, 2.1.2. This is due to insufficient escaping on the user-supplied `sort` parameter and lack of sufficient preparation on the existing SQL query in `PaymentRepository.php`, where the sort field is interpolated directly into an ORDER BY clause without sanitization or whitelist validation. PDO prepared statements do not protect ORDER BY column names. GET requests also skip Amelia's nonce validation entirely. This makes it possible for authenticated attackers, with Manager-level (`wpamelia-manager`) access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database via time-based blind SQL injection.

CWE CWE-89
Vendor ameliabooking
Product booking for appointments and events calendar – amelia
Published Mar 31, 2026
Last Updated Apr 8, 2026
Stay Ahead of the Next One

Get instant alerts for ameliabooking booking for appointments and events calendar – amelia

Be the first to know when new medium vulnerabilities affecting ameliabooking booking for appointments and events calendar – amelia are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

ameliabooking / Booking for Appointments and Events Calendar – Amelia
0 ≤ 2.1.2

References

NVD ↗ CVE.org ↗ EPSS Data ↗
wordfence.com: https://www.wordfence.com/threat-intel/vulnerabilities/id/1bfc5467-6610-4516-8c50-d47d05e2677d?source=cve plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/ameliabooking/tags/2.1/src/Infrastructure/Repository/Payment/PaymentRepository.php#L623 plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/browser/ameliabooking/tags/2.1/src/Application/Commands/Payment/GetPaymentsCommandHandler.php#L59 wordpress.org: https://wordpress.org/plugins/ameliabooking/ plugins.trac.wordpress.org: https://plugins.trac.wordpress.org/changeset/3488955/ameliabooking/trunk/src/Infrastructure/Repository/Payment/PaymentRepository.php

Credits

Michael Perla