CVE-2020-10803
phpMyAdmin SQL injection vulnerability
Also known as BIT-phpmyadmin-2020-10803, GHSA-fcww-8wvc-38q9
Mitigation
- Upgrade phpmyadmin/phpmyadmin to one of 4.9.5, 5.0.2 (or later in the same release line).
Who should check
- Projects that depend on Packagist package phpmyadmin/phpmyadmin (>= 3.4, < 4.9.5)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- phpmyadmin/phpmyadmin >= 3.4, < 4.9.5
- Fixed in
- 4.9.5, 5.0.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 5.4 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 1.37% chance of exploitation in 30 days (percentile 72, 2026-11-26)
- CWE
- CWE-79, CWE-89
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist phpmyadmin/phpmyadmin | >= 3.4, < 4.9.5 | 4.9.5, 5.0.2 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-10803. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-10803.md Affected: phpmyadmin/phpmyadmin >= 3.4, < 4.9.5 Fixed in: 4.9.5, 5.0.2 Steps: 1. Search this machine and project for phpmyadmin/phpmyadmin (Packagist), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00046.html
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00050.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK/
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00005.html
- https://nvd.nist.gov/vuln/detail/CVE-2020-10803
Other
- https://lists.debian.org/debian-lts-announce/2020/03/msg00028.html
- https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-10803.yaml
- https://github.com/phpmyadmin/composer
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO
- https://www.phpmyadmin.net/security/PMASA-2020-4
FAQ
Is CVE-2020-10803 being exploited?
There is no confirmed exploitation: CVE-2020-10803 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.37% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-10803?
Medium: CVSS 5.4 (v3.1, scored by NVD). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2020-10803?
phpmyadmin/phpmyadmin >= 3.4, < 4.9.5.
Is there a fix for CVE-2020-10803?
Yes. Fixed in 4.9.5, 5.0.2. Upgrade phpmyadmin/phpmyadmin to one of 4.9.5, 5.0.2 (or later in the same release line).
How do I check if I'm affected by CVE-2020-10803?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.