# CVE-2020-5504: phpMyAdmin SQL injection in user accounts page

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 28.0%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-01-09T21:56:22.000Z
- Modified: 2026-09-08T08:46:28.484Z
- Also known as: GHSA-fgj8-93xx-f6g6, BIT-PHPMYADMIN-2020-5504
- Weaknesses: CWE-89
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- phpmyadmin/phpmyadmin (Packagist): from 4.0.0 before 4.9.4; from 5.0.0 before 5.0.1
- phpmyadmin phpmyadmin: from 4.0.0 before 4.9.4; from 5.0.0 before 5.0.1
- suse suse_linux_enterprise_server: 12
- debian debian_linux: 8.0
- phpmyadmin (Bitnami): from 4.0.0 before 4.9.4; from 5.0.0 before 5.0.1

## Every score

- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.html> (exploit, advisory, third-party-advisory, web)
- <https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-5504.md> (exploit, web)
- <https://www.phpmyadmin.net/security/PMASA-2020-1/> (advisory, patch, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00024.html> (advisory, mailing-list, third-party-advisory, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2020/01/msg00011.html> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5504> (advisory, web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-5504.yaml> (web)
- <https://github.com/phpmyadmin/composer> (package)
- <https://www.phpmyadmin.net/security/PMASA-2020-1> (web)

## Sources

- CVE List: [CVE-2020-5504](https://www.cve.org/CVERecord?id=CVE-2020-5504), CVE Terms of Use, modified 2025-04-16
- GitHub Advisory Database: [GHSA-fgj8-93xx-f6g6](https://github.com/advisories/GHSA-fgj8-93xx-f6g6), CC-BY-4.0, modified 2025-04-16
- NVD: [CVE-2020-5504](https://nvd.nist.gov/vuln/detail/CVE-2020-5504), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-PHPMYADMIN-2020-5504](https://osv.dev/vulnerability/BIT-PHPMYADMIN-2020-5504), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-5504 · Whole record: https://cve.day/CVE-2020-5504.json · Rebuilt by cve.day 2026-11-25T22:57:50.502Z
