# CVE-2026-4668: Amelia <= 2.1.2 - Authenticated (Manager+) SQL Injection via 'sort' Parameter

- Severity: Medium 6.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 36% of CVEs (2026-12-02)
- Published: 2026-03-31T23:25:46.714Z
- Modified: 2026-06-17T10:56:59.973Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- ameliabooking Booking for Appointments and Events Calendar – Amelia: up to 2.1.2

## References

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

## Sources

- CVE List: [CVE-2026-4668](https://www.cve.org/CVERecord?id=CVE-2026-4668), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-4668](https://nvd.nist.gov/vuln/detail/CVE-2026-4668), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-4668 · Whole record: https://cve.day/CVE-2026-4668.json · Rebuilt by cve.day 2026-11-25T22:59:17.659Z
