Bringing MySQL to the web


Announcement-ID: PMASA-2011-18

Date: 2011-12-01

Updated: 2011-12-03


Multiple XSS.


Using crafted database names, it was possible to produce XSS in the Database Synchronize and Database rename panels. Using an invalid and crafted SQL query, it was possible to produce XSS when editing a query on a table overview panel or when using the view creation dialog. Using a crafted column type, it was possible to produce XSS in the table search and create index dialogs.


We consider these vulnerabilities to be non critical.

Mitigation factor

These attacks are unlikely to succeed on a victim. Moreover, all these attacks require that the user be already logged in and that a valid token be part of the request.

Affected Versions

Versions 3.4.x are affected.


Upgrade to phpMyAdmin 3.4.8 or newer or apply the related patch listed below.


Thanks to David Vieira-Kurz for reporting the Database Synchronize and rename issues. Thanks to Maxim Rupp for reporting the invalid SQL query issue. Thanks to R.Harikrishnan for reporting the database rename and view creation issues.

Assigned CVE ids: CVE-2011-4634

CWE ids: CWE-661 CWE-79


The following commits have been made to fix this issue:

More information

For further information and in case of questions, please contact the phpMyAdmin team. Our website is