Announcement-ID: PMASA-2014-3

Date: 2014-06-20


Self-XSS due to unescaped HTML output in navigation items hiding feature.


When hiding or unhiding a crafted table name in the navigation, 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

Versions 4.1.x (prior to and 4.2.x (prior to 4.2.4) are affected.


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


Thanks to Chirayu Chiripal for reporting this vulnerability.

Assigned CVE ids: CVE-2014-4349

CWE ids: CWE-661 CWE-79


The following commits have been made to fix this issue:

The following commits have been made on the 4.1 branch to fix this issue:

More information

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