CVE-2020-5504: In phpMyAdmin 4 before 4.9.4 and 5 before 5.0.1, SQL injection exists in the user accounts page.
CVE-2020-5504 affects 122 listed versions of phpMyAdmin in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
phpMyAdmin
122 of 250 listed versions are affected. Fixed in 5.0.1, 4.9.4. The newest release, 5.2.3, is not affected.
5.0.0 4.9.3 4.9.2 4.9.1 4.9.0.1 4.9.0 4.8.5 4.8.4 4.8.3 4.8.2 4.8.1 4.8.0.1 4.8.0 4.7.9 4.7.8 4.7.7 4.7.6 4.7.5 4.7.4 4.7.3 4.7.2 4.7.1 4.7.0 4.7.0-rc1 4.6.6 4.6.5.2 4.6.5.1 4.6.5 4.6.4 4.6.3 4.6.2 4.6.1 4.6.0 4.6.0-rc2 4.6.0-rc1 4.5.5.1 4.5.5 4.5.4.1 4.5.4 4.5.3.1 4.5.3 4.5.2 4.5.1 4.5.0.2 4.5.0.1 4.5.0 4.5.0-rc1 4.4.15.10 4.4.15.9 4.4.15.8 4.4.15.7 4.4.15.6 4.4.15.5 4.4.15.4 4.4.15.3 4.4.15.2 4.4.15.1 4.4.15 4.4.14.1 4.4.14 and 62 more
What it is
In phpMyAdmin 4 before 4.9.4 and 5 before 5.0.1, SQL injection exists in the user accounts page. A malicious user could inject custom SQL in place of their own username when creating queries to this page. An attacker must have a valid MySQL account to access the server.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by MITRE on 9 January 2020. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2020-5504 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.