{"id":"GHSA-fgj8-93xx-f6g6","aliases":["BIT-phpmyadmin-2020-5504","CVE-2020-5504"],"title":"phpMyAdmin SQL injection in user accounts page","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"HIGH","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.","severity":"high","score":8.8,"published":"2022-05-24T17:05:59.000Z","modified":"2025-04-16T16:30:05.925Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"phpmyadmin/phpmyadmin","sources":[{"name":"OSV · GHSA-fgj8-93xx-f6g6","url":"https://osv.dev/vulnerability/GHSA-fgj8-93xx-f6g6"}],"ranges":[{"events":[{"introduced":"4.0.0"},{"fixed":"4.9.4"}],"type":"ECOSYSTEM"}],"versions":["4.0.0","4.0.1","4.0.10","4.0.10.1","4.0.10.2","4.0.10.3","4.0.10.4","4.0.10.5","4.0.10.6","4.0.10.7","4.0.10.8","4.0.10.9","4.0.2","4.0.3","4.0.4","4.0.4.1","4.0.4.2","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9","4.7.0","4.7.1","4.7.2","4.7.3","4.7.4","4.7.5","4.7.6","4.7.7","4.7.8","4.7.9","4.8.0","4.8.0.1","4.8.1","4.8.2","4.8.3","4.8.4","4.8.5","4.9.0","4.9.0.1","4.9.1","4.9.2","4.9.3"],"fixed":["4.9.4"]},{"ecosystem":"Packagist","name":"phpmyadmin/phpmyadmin","sources":[{"name":"OSV · GHSA-fgj8-93xx-f6g6","url":"https://osv.dev/vulnerability/GHSA-fgj8-93xx-f6g6"}],"ranges":[{"events":[{"introduced":"5.0.0"},{"fixed":"5.0.1"}],"type":"ECOSYSTEM"}],"versions":["5.0.0","5.0.0.1"],"fixed":["5.0.1"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2020-5504","https://cybersecurityworks.com/zerodays/cve-2020-5504-phpmyadmin.html","https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-5504.yaml","https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2020-5504.md","https://github.com/phpmyadmin/composer","https://lists.debian.org/debian-lts-announce/2020/01/msg00011.html","https://www.phpmyadmin.net/security/PMASA-2020-1","http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00024.html"],"sources":[{"name":"OSV","id":"GHSA-fgj8-93xx-f6g6","modified":"2025-04-16T16:30:05.925744Z","url":"https://osv.dev/vulnerability/GHSA-fgj8-93xx-f6g6"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T18:20:33.032Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[{"source":"Exploit-DB","id":"52451","url":"https://www.exploit-db.com/exploits/52451","checkedAt":"2026-10-28T07:55:38.811Z"}]}