phpMyAdmin versions up to 5.2.3 have a stored cross-site scripting (XSS) vulnerability in the Designer query history feature. Database users with CREATE privileges can inject malicious scripts via specially crafted table names containing HTML markup. When another user interacts with the Designer query mode and adds a condition on such a table, the injected script executes in their session.