# CVE-2020-10802: phpMyAdmin SQL injection vulnerability

- Severity: High 8.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/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): 1.82%, higher than 79% of CVEs (2026-12-01)
- Published: 2020-03-22T03:48:33.000Z
- Modified: 2026-09-08T08:48:24.768Z
- Also known as: GHSA-f4cr-3xmc-2wpm, BIT-PHPMYADMIN-2020-10802
- Weaknesses: CWE-89
- Assigned by: mitre

## Description

In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability has been discovered where certain parameters are not properly escaped when generating certain queries for search actions in libraries/classes/Controllers/Table/TableSearchController.php. An attacker can generate a crafted database or table name. The attack can be performed if a user attempts certain search operations on the malicious database or table.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- phpmyadmin/phpmyadmin (Packagist): from 4.9.0 before 4.9.5; from 5.0.0 before 5.0.2
- phpmyadmin phpmyadmin: from 4.0.0 before 4.9.5; from 5.0.0 before 5.0.2
- debian debian_linux: 8.0
- fedoraproject fedora: 30; 31; 32
- opensuse backports_sle: 15.0
- opensuse leap: 15.1
- suse package_hub: no versions given
- phpmyadmin (Bitnami): from 4.0.0 before 4.9.5; from 5.0.0 before 5.0.2

## Every score

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

## References

- <https://www.phpmyadmin.net/security/PMASA-2020-3/> (advisory, patch, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/03/msg00028.html> (advisory, mailing-list, third-party-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00046.html> (advisory, mailing-list, third-party-advisory, vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00050.html> (advisory, mailing-list, third-party-advisory, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK/> (vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00005.html> (advisory, mailing-list, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-10802> (advisory, web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-10802.yaml> (web)
- <https://github.com/phpmyadmin/composer> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO> (web)
- <https://www.phpmyadmin.net/security/PMASA-2020-3> (web)

## Sources

- CVE List: [CVE-2020-10802](https://www.cve.org/CVERecord?id=CVE-2020-10802), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-f4cr-3xmc-2wpm](https://github.com/advisories/GHSA-f4cr-3xmc-2wpm), CC-BY-4.0, modified 2024-04-24
- NVD: [CVE-2020-10802](https://nvd.nist.gov/vuln/detail/CVE-2020-10802), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-PHPMYADMIN-2020-10802](https://osv.dev/vulnerability/BIT-PHPMYADMIN-2020-10802), Apache-2.0, modified 2026-09-08

---

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