Announcement-ID: PMASA-2022-2
Date: 2022-01-10
Multiple XSS and HTML injection attacks in setup script
A series of weaknesses has been discovered that could allow an attacker to inject malicious code in to aspects of the setup script, which can allow XSS or HTML injection.
We consider this vulnerability to be of moderate severity.
A phpMyAdmin installation with a configuration file `config.inc.php` will not allow access to the setup script, which in turn mitigates this attack.
phpMyAdmin versions of the 5.1 branch prior to 5.1.2 are affected.
Upgrade to phpMyAdmin 5.1.2 or newer or apply patch listed below.
Thanks to Dipak Panchal (th3.d1p4k) for reporting this vulnerability.
Assigned CVE ids: CVE-2022-23808
CWE ids: CWE-661
The following commits have been made to fix this issue:
For further information and in case of questions, please contact the phpMyAdmin team. Our website is phpmyadmin.net.