Amelia <= 2.1.2 - Authenticated (Manager+) SQL Injection via 'sort' Parameter
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ameliabooking | Booking for Appointments and Events Calendar – Amelia | up to 2.1.2 | — | No fix listed | CNA |
- Booking for Appointments and Events Calendar – Amelia Vendorameliabooking Affected up to 2.1.2 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-4668
- 2026-10-03 Alias added: GHSA-63qw-fwm2-mj2h
References
Other 5
- 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
More ameliabooking vulnerabilities
- TI-2026-04786 Authorization bypass in ameliabooking Booking for Appointments and Events Calendar… CVSS 3.1HIGH 8.8
- TI-2026-02524 Amelia Booking <= 9.1.2 - Authenticated (Customer+) Insecure Direct Object Reference to Arbitrary User Password Change CVSS 3.1HIGH 8.8
- TI-2025-11453 Booking for Appointments and Events Calendar – Amelia <= 1.2.35 - Unauthenticated SQL Injection via search CVSS 3.1HIGH 7.5
- TI-2026-20148 WordPress Amelia plugin <= 1.2.38 - Privilege Escalation vulnerability CVSS 3.1HIGH 7.2
- TI-2026-28461 WordPress Amelia plugin <= 2.1.1 - SQL Injection vulnerability CVSS 3.1HIGH 7.6
- TI-2026-20152 WordPress Amelia plugin <= 1.2.38 - Broken Access Control vulnerability CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-4668 · CVE Program
- CVE-2026-4668 · NVD
- FIRST EPSS
- GHSA-63qw-fwm2-mj2h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences