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

6.5
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2026-4668
CVSS 6.5 (Medium)
Publicly Published March 31, 2026
Last Updated March 31, 2026
Researcher Michael Perla (vizen5) - clixhouse

Description

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.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Booking for Appointments and Events Calendar – Amelia

Software Type Plugin
Software Slug ameliabooking (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.1.3, or a newer patched version
Affected Version
  • <= 2.1.2
Patched Version
  • 2.1.3

Recent vulnerabilities in Booking for Appointments and Events Calendar – Amelia

# Title CVE ID CVSS Researchers Date
1 Booking for Appointments and Events Calendar – Amelia <= 2.4.3 - Authenticated (Custom+) SQL Injection via Customer Import CVE-2026-14782 4.9 F0DH1L July 16, 2026
2 Booking for Appointments and Events Calendar – Amelia <= 2.4.2 - Unauthenticated SQL Injection CVE-2026-57702 7.5 daroo July 8, 2026
3 Booking for Appointments and Events Calendar – Amelia <= 2.3 - Authenticated (Subscriber+) Privilege Escalation CVE-2026-48889 8.8 dodoh4t June 2, 2026
4 Booking for Appointments and Events Calendar – Amelia <= 2.2.1 - Unauthenticated Authorization Bypass via Remote Approval Endpoint CVE-2026-6449 5.3 awhacken May 1, 2026
5 Booking for Appointments and Events Calendar – Amelia <= 2.2 - Missing Authorization CVE-2026-40795 4.3 Niv Kochan April 28, 2026
6 Booking for Appointments and Events Calendar – Amelia <= 2.2 - Unauthenticated Information Exposure CVE-2026-40789 5.3 Weerawat Pawanawiwat (ErbaZZ) April 23, 2026
7 Amelia <= 2.1.3 - Insecure Direct Object Reference to Authenticated (Employee+) Privilege Escalation via 'externalId' Parameter CVE-2026-5465 8.8 Osvaldo Noe Gonzalez Del Rio (Os) April 6, 2026
8 Amelia Booking 8.3 - 9.1.2 - Authenticated (Customer+) Insecure Direct Object Reference to Arbitrary User Password Change CVE-2026-2931 8.8 Hunter Jensen (skid) March 25, 2026
9 Amelia <= 2.1.1 - Authenticated (Custom role+) SQL Injection CVE-2026-39487 6.5 daroo March 25, 2026
10 Booking for Appointments and Events Calendar – Amelia <= 1.2.38 - Authenticated (Employee+) Privilege Escalation CVE-2026-24963 8.8 daroo March 4, 2026

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation