Home / Phpmyadmin / Phpmyadmin / CVE-2020-5504
CVE-2020-5504: is it exploited, and which versions of Phpmyadmin are affected and fixed?
CVE-2020-5504 is a SQL injection vulnerability in Phpmyadmin. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: phpmyadmin/phpmyadmin from 4.0.0 before 4.9.4 and phpmyadmin/phpmyadmin from 5.0.0 before 5.0.1 (GitHub advisory GHSA-fgj8-93xx-f6g6). Fixed in 4.9.4 and 5.0.1 (GitHub advisory GHSA-fgj8-93xx-f6g6). Severity: High (8.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:17 UTC.
What is CVE-2020-5504?
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.
From the CVE record by mitre, last updated April 16, 2025, 14:13 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | phpmyadmin/phpmyadmin | >= 4.0.0, < 4.9.4 | 4.9.4 | GHSA-fgj8-93xx-f6g6 |
| Packagist | phpmyadmin/phpmyadmin | >= 5.0.0, < 5.0.1 | 5.0.1 | GHSA-fgj8-93xx-f6g6 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 16, 2025. Summary: phpMyAdmin SQL injection in user accounts page.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| phpmyadmin | phpmyadmin | from 4.0.0 before 4.9.4 | application |
| phpmyadmin | phpmyadmin | from 5.0.0 before 5.0.1 | application |
| suse | suse linux enterprise server | 12 | operating system |
| debian | debian linux | 8.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:21 UTC.
How severe is CVE-2020-5504?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-5504 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 28.0% probability of exploitation activity in the next 30 days, percentile 98.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- https://www.phpmyadmin.net/security/PMASA-2020-1/
- openSUSE-SU-2020:0056 vendor-advisory
- [debian-lts-announce] 20200115 [SECURITY] [DLA 2060-1] phpmyadmin security update mailing-list
- https://cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.html
- https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-5504.md
When was it published, and where is the official record?
- Reserved
- January 5, 2020
- Published
- January 9, 2020, 21:56 UTC
- CVE record updated
- April 16, 2025, 14:13 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 03:21 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:17 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Phpmyadmin?
- Mar 26, 2009CVE-2009-1151 Phpmyadmin: code injection (remote code execution) exploited
- Oct 30, 2026CVE-2026-119563 phpMyAdmin: cross-site scripting (XSS)
- Oct 30, 2026CVE-2026-119562 phpMyAdmin: SQL injection
- Oct 30, 2026CVE-2026-119561 phpMyAdmin: cryptographic signature not verified
- Oct 30, 2026CVE-2026-119429 phpMyAdmin: unverified Password Change
- Oct 30, 2026CVE-2026-119428 phpMyAdmin: server-side request forgery (SSRF)
- Oct 30, 2026CVE-2026-119427 phpMyAdmin: SQL injection
- Oct 30, 2026CVE-2026-119426 phpMyAdmin: cross-site request forgery (CSRF)
Questions about CVE-2020-5504
Is CVE-2020-5504 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 28.0% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Phpmyadmin are affected by CVE-2020-5504?
phpmyadmin/phpmyadmin from 4.0.0 before 4.9.4 and phpmyadmin/phpmyadmin from 5.0.0 before 5.0.1, per the GitHub advisory GHSA-fgj8-93xx-f6g6. The tables above give every range the sources list.
Which version fixes CVE-2020-5504?
4.9.4 and 5.0.1, per the GitHub advisory GHSA-fgj8-93xx-f6g6. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-5504?
High (8.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-5504?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.