{"id":"CVE-2020-10803","aliases":["CVE-2020-10803","GHSA-fcww-8wvc-38q9","BIT-PHPMYADMIN-2020-10803"],"related":[],"kind":"vulnerability","state":"published","title":"phpMyAdmin SQL injection vulnerability","summary":"In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability was discovered where malicious code could be used to trigger an XSS attack through retrieving and displaying results (in tbl_get_field.php and libraries/classes/Display/Results.php). The attacker must be able to insert crafted data into certain database tables, which when retrieved (for instance, through the Browse tab) can trigger the XSS attack.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability was discovered where malicious code could be used to trigger an XSS attack through retrieving and displaying results (in tbl_get_field.php and libraries/classes/Display/Results.php). The attacker must be able to insert crafted data into certain database tables, which when retrieved (for instance, through the Browse tab) can trigger the XSS attack.","source":"cvelist"},{"lang":"es","text":"En phpMyAdmin versiones 4.x anteriores a 4.9.5 y versiones 5.x anteriores a 5.0.2, se detectó una vulnerabilidad de inyección SQL donde un código malicioso podría ser usado para desencadenar un ataque de tipo XSS mediante la recuperación y visualización de resultados (en archivo tbl_get_field.php y biblioteca libraries/clases/Display/Results.php). El atacante debe poder insertar datos diseñados en determinadas tablas de la base de datos, que cuando se recuperaban (por ejemplo, por medio de la pestaña Browse) pueden desencadenar el ataque de tipo XSS.","source":"nvd"}],"published":"2020-03-22T03:48:16.000Z","modified":"2026-09-08T08:48:24.727Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79","CWE-89"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.4","status":"affected","fixed":"4.9.5"}],"ecosystem":"Packagist","package":"phpmyadmin/phpmyadmin","purl":"pkg:composer/phpmyadmin/phpmyadmin","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0.0","status":"affected","fixed":"5.0.2"}],"ecosystem":"Packagist","package":"phpmyadmin/phpmyadmin","purl":"pkg:composer/phpmyadmin/phpmyadmin","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.0.0","fixed":"4.9.5"},{"status":"affected","introduced":"5.0.0","fixed":"5.0.2"}],"vendor":"phpmyadmin","product":"phpmyadmin","cpe":"cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"30"},{"status":"affected","version":"31"},{"status":"affected","version":"32"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"15.0"},{"status":"affected","version":"15.0"}],"vendor":"opensuse","product":"backports_sle","cpe":"cpe:2.3:a:opensuse:backports_sle:15.0:-:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"15.1"}],"vendor":"opensuse","product":"leap","cpe":"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"suse","product":"package_hub","cpe":"cpe:2.3:a:suse:package_hub:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.9.5"},{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.0.2"}],"ecosystem":"Bitnami","package":"phpmyadmin","purl":"pkg:bitnami/phpmyadmin","source":"bitnami"}],"references":[{"url":"https://www.phpmyadmin.net/security/PMASA-2020-4/","tags":["advisory","patch","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/03/msg00028.html","tags":["advisory","mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00046.html","tags":["advisory","broken-link","mailing-list","third-party-advisory","vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00050.html","tags":["advisory","broken-link","mailing-list","third-party-advisory","vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00005.html","tags":["advisory","broken-link","mailing-list","third-party-advisory","vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10803","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-10803.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/phpmyadmin/composer","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO","tags":["web"],"sources":["ghsa"]},{"url":"https://www.phpmyadmin.net/security/PMASA-2020-4","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-10803","url":"https://www.cve.org/CVERecord?id=CVE-2020-10803","licence":"CVE Terms of Use","modified":"2024-08-04T11:14:15.610Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fcww-8wvc-38q9","url":"https://github.com/advisories/GHSA-fcww-8wvc-38q9","licence":"CC-BY-4.0","modified":"2024-04-24T17:57:29.367Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-10803","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10803","licence":"Public domain","modified":"2026-06-17T02:48:27.877Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHPMYADMIN-2020-10803","url":"https://osv.dev/vulnerability/BIT-PHPMYADMIN-2020-10803","licence":"Apache-2.0","modified":"2026-09-08T08:48:24.727Z"}],"updatedAt":"2026-11-25T22:57:51.596Z","epss":{"score":0.01373,"percentile":0.72796,"date":"2026-12-01T12:00:22.000Z"}}