CVE-2020-10803 json
phpMyAdmin SQL injection vulnerability
published 2020-03-22 6 y ago modified 2026-09-08 2 mo ago also BIT-phpmyadmin-2020-10803 , EUVD-2022-3753 , GHSA-fcww-8wvc-38q9
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
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.
Patch / fix
- packagist phpmyadmin/phpmyadmin 4.9.5, 5.0.2
- bitnami phpmyadmin 4.9.5, 5.0.2
- phpmyadmin phpmyadmin 4.9.5, 5.0.2
- phpmyadmin Debian 14, Debian 13, Debian 12 4:4.9.5+dfsg1-1
debian advisories DEBIAN-CVE-2020-10803
- phpmyadmin Ubuntu 18.04 LTS 4:4.6.6-5ubuntu0.5
ubuntu advisories UBUNTU-CVE-2020-10803
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- phpMyAdmin openSUSE Tumbleweed 5.1.1-1.2
- phpMyAdmin Package Hub 15 SP1, Package Hub 15, Package Hub 12 +1 more 4.9.7-bp151.3.24.1
- phpMyAdmin Package Hub 15 SP1 4.9.5-bp151.3.15.1
- phpMyAdmin Package Hub 12, openSUSE Leap 15.1 4.9.5-43.1
opensuse advisories openSUSE-SU-2024:11171-1openSUSE-SU-2020:1806-1openSUSE-SU-2020:0427-1openSUSE-SU-2020:0405-1
- phpmyadmin Alpine 3.11 4.9.5-r0
- phpmyadmin Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 5.0.2-r0
alpine advisories ALPINE-CVE-2020-10803
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-10803 updated cvss 4.2
phpMyAdmin: Inserting specially crafted code in database tables, retrieving and displaying resuts could result in XSS
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.37% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| OSV | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | phpmyadmin/phpmyadmin | >=3.4, <4.9.5 >=5.0.0, <5.0.2 |
4.9.5 5.0.2 |
| bitnami | phpmyadmin | >=4.0.0, <4.9.5 >=5.0.0, <5.0.2 |
4.9.5 5.0.2 |
Classification
References
-
phpmyadmin.net
/security/PMASA-2020-4/
patch, vendor-advisory, advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-03/msg00046.html
vendor-advisory, web, broken-link, mailing-list, third-party-advisory, advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-03/msg00050.html
vendor-advisory, web, broken-link, mailing-list, third-party-advisory, advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ/
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK/
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2020-11/msg00005.html
vendor-advisory, web, broken-link, mailing-list, third-party-advisory, advisory
-
lists.debian.org
/debian-lts-announce/2020/03/msg00028.html
mailing-list, web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-10803
advisory, web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-10803.yaml
web
-
github.com
/phpmyadmin/composer
package
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO
web
-
phpmyadmin.net
/security/PMASA-2020-4
web
Sources
- CVE List CVE-2020-10803
- GitHub Advisory GHSA-fcww-8wvc-38q9
- NVD CVE-2020-10803
- OSV BIT-phpmyadmin-2020-10803
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.