VDB
CVE-2020-5504
CVE-2020-5504
PUBLISHED
CVSS 8.800000190734863 HIGH
phpMyAdmin SQL injection in user accounts page
Reported by mitre · Published January 9, 2020
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.
Risk scores
CVSS 3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| alpine | phpmyadmin | 0, 0 |
| phpmyadmin | phpmyadmin | 4.0.0, 5.0.0 |
Timeline
- Jan 7, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Apr 16, 2025 CVE Updated
- Nov 25, 2025 PoC Published (2 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 6, 2026 Security Advisory (5 in total, the first dated here)
- Aug 29, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-5504
vulnetix vdb fixes CVE-2020-5504
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-5504/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- openSUSE-SU-2020:0056 vendor-advisory
- [debian-lts-announce] 20200115 [SECURITY] [DLA 2060-1] phpmyadmin security update mailing-list
- https://nvd.nist.gov/vuln/detail/CVE-2020-5504 advisory
- https://github.com/advisories/GHSA-fgj8-93xx-f6g6 advisory
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-5504.yaml url
- https://github.com/phpmyadmin/composer url
- https://www.phpmyadmin.net/security/PMASA-2020-1 url