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 is a high-severity flaw (CVSS 8.8) affecting phpmyadmin, suse linux enterprise server, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- EPSS top 2%: very likely to be exploited
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 28.0% (top 2%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2020-01-09 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: phpMyAdmin 5.0.0 - SQL Injection
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-5504?
phpmyadmin: upgrade to 4.9.4, 5.0.1; suse linux enterprise server: mitigate or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2020-5504 being exploited?
CVE-2020-5504 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-5504 affect?
CVE-2020-5504 affects phpmyadmin, suse linux enterprise server, debian linux. Severity is high (CVSS 8.8). 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
How urgent is CVE-2020-5504?
Priority 65/100. High severity; EPSS top 2%: very likely to be exploited; Public exploit reference; On your watchlist
Software pages
MySQL vulnerabilities · Debian vulnerabilities · phpMyAdmin vulnerabilities
Related CVEs
- CVE-2026-119426 HIGH 7.5 UPGRADE phpMyAdmin through 5.2.3 contains a cross-site request forgery vulnerability that allows remote attackers to e
- CVE-2026-119427 MEDIUM 4.2 UPGRADE phpMyAdmin through 5.2.3 contains an sql injection vulnerability in Designer saveSetting() that allows authent
- CVE-2026-119428 LOW 3.7 UPGRADE phpMyAdmin through 5.2.3 contains a server-side request forgery vulnerability that allows unauthenticated atta
- CVE-2026-119429 MEDIUM 4.3 UPGRADE phpMyAdmin through 5.2.3 contains a missing re-authentication vulnerability that allows authenticated attacker
- CVE-2026-119561 MEDIUM 6.8 UPGRADE phpMyAdmin through 5.2.3 contains an authentication bypass vulnerability in CustomServer::parseAndValidateAsse