Bringing MySQL to the web


Announcement-ID: PMASA-2014-1

Date: 2014-02-15


Self-XSS due to unescaped HTML output in import.


When importing a file with crafted filename, it is possible to trigger an XSS.


We consider this vulnerability to be non critical.

Mitigation factor

This vulnerability can be triggered only by someone who is logged in to phpMyAdmin, as the usual token protection prevents non-logged-in users from accessing the required form.

Affected Versions

All versions since 3.3.1 and prior to 4.1.7 are affected.


Upgrade to phpMyAdmin 4.1.7 or newer, or apply the patch listed below.


Thanks to Lane Thames with Tripwire's Vulnerability and Exposure Research Team (VERT) for reporting these vulnerabilities.

Assigned CVE ids: CVE-2014-1879

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