Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/ameliabooking/tags/2.1/src/Applicatio
- https://plugins.trac.wordpress.org/browser/ameliabooking/tags/2.1/src/Infrastruc
- https://plugins.trac.wordpress.org/changeset/3488955/ameliabooking/trunk/src/Inf
- https://wordpress.org/plugins/ameliabooking/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1bfc5467-6610-4516-8c5
FAQ
What is CVE-2026-4668?
CVE-2026-4668 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 inclu...
How severe is CVE-2026-4668?
CVE-2026-4668 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-4668?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.