phpMyAdmin versions up to 5.2.3 have a cross-site request forgery (CSRF) vulnerability that allows attackers to bypass CSRF token checks on non-AJAX POST requests to the /sql or /database/sql endpoints. This enables remote attackers to execute arbitrary SQL commands with the privileges of an authenticated user by tricking them into submitting crafted POST requests. The vulnerability affects configurations using HTTP or config authentication.