CVE-2026-4668CWE-89

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

Medium · published March 31, 2026

CVSS v3.1
6.5
EPSS
0%
Percentile
34.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00413 · 34.4th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-03-31T23:25Z
EPSS history
Timeline
  • 31 MAR 23:25Z
    Amelia <= 2.1.2 - Authenticated (Manager+) SQL Injection via 'sort' Parameter
    cvelistv5