CVE-2026-4668 Amelia <= 2.1.2 - Authenticated (Manager+) SQL Injection via 'sort' Parameter
Authenticated managers can extract sensitive database information via SQL injection in the Amelia WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-4668?
CVE-2026-4668 is a medium-severity SQL injection vulnerability in ameliabooking Booking for Appointments and Events Calendar – Amelia, published on 31 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2026-4668?
How do I fix CVE-2026-4668?
No fix has been published for CVE-2026-4668 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-4668 being exploited?
There is no known exploitation of CVE-2026-4668 in the wild and no public exploit code.
Sources
Also known as GHSA-63qw-fwm2-mj2h.