Medium

phpMyAdmin SQL injection vulnerability

  • Disclosed: 24.05.2022
  • Updated: 11.10.2026 10:22

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package phpmyadmin/phpmyadmin >= 3.4, < 4.9.5, >= 5.0.0, < 5.0.2 4.9.5, 5.0.2

References

CVSS score 5.4/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79, CWE-89
Platform
Composer
Package
phpmyadmin/phpmyadmin
Disclosed
24.05.2022
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-fcww-8wvc-38q9 - CC BY 4.0

Vulnerability history: phpmyadmin/phpmyadmin

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (107) in the archive
Total entries
107
First → latest
01.2020 01.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 10
  • High 28
  • Medium 56
  • Low 13

Disclosures per year

  1. 2020: 1
  2. 2021: 0
  3. 2022: 103
  4. 2023: 2
  5. 2024: 0
  6. 2025: 1
  7. 2026: 0
Severity:
  1. Critical · 9.8 CVE-2020-22452 >= 5.0.0, < 5.0.2 5.0.2
  2. Critical · 9.8 CVE-2020-26935 >= 4.9.0, < 4.9.6, >= 5.0.0, < 5.0.3 4.9.6, 5.0.3
  3. High · 8.0 CVE-2020-10804 >= 4.9.0, < 4.9.5, >= 5.0.0, < 5.0.2 4.9.5, 5.0.2
  4. phpMyAdmin SQL injection vulnerability this entry
    Medium · 5.4 CVE-2020-10803 >= 3.4, < 4.9.5, >= 5.0.0, < 5.0.2 4.9.5, 5.0.2
  5. High · 8.0 CVE-2020-10802 >= 4.9.0, < 4.9.5, >= 5.0.0, < 5.0.2 4.9.5, 5.0.2
  6. High · 8.8 CVE-2020-5504 >= 4.0.0, < 4.9.4, >= 5.0.0, < 5.0.1 4.9.4, 5.0.1
  7. Critical · 9.8 CVE-2019-19617 < 4.9.2 4.9.2
  8. Critical · 9.8 CVE-2019-11768 < 4.9.0.1 4.9.0.1
  9. High CVE-2008-7252 >= 2.11.0, < 2.11.10 2.11.10
  10. High · 8.5 CVE-2013-3239 >= 3.5.0, < 3.5.8.1 3.5.8.1
  11. High · 7.5 CVE-2016-1927 >= 4.0.0, < 4.0.10.13, >= 4.4.0, < 4.4.15.3, >= 4.5.0, < 4.5.4 4.0.10.13, 4.4.15.3, 4.5.4
  12. High CVE-2015-7873 >= 4.4.0, < 4.4.15.1, >= 4.5.0, < 4.5.1 4.4.15.1, 4.5.1
  13. Critical · 9.8 CVE-2016-5734 >= 4.0.10.0, < 4.0.10.16, >= 4.4.15.0, < 4.4.15.7, >= 4.6.0, < 4.6.3 4.0.10.16, 4.4.15.7, 4.6.3
  14. Critical · 9.8 CVE-2016-6629 >= 4.6, < 4.6.4, >= 4.4, < 4.4.15.8, >= 4.0, < 4.0.10.17 4.6.4, 4.4.15.8, 4.0.10.17
  15. High · 8.1 CVE-2016-6633 >= 4.6, < 4.6.4, >= 4.4, < 4.4.15.8, >= 4.0, < 4.0.10.17 4.6.4, 4.4.15.8, 4.0.10.17
  16. High · 7.5 CVE-2016-9861 >= 4.6, < 4.6.5, >= 4.4, < 4.4.15.9, >= 4.0, < 4.0.10.18 4.6.5, 4.4.15.9, 4.0.10.18
  17. High · 7.5 CVE-2016-9863 >= 4.6.0, < 4.6.5 4.6.5
  18. Critical · 9.8 CVE-2016-9866 >= 4.6.0, < 4.6.5, >= 4.4.0, < 4.4.15.9, >= 4.0.0, < 4.0.10.18 4.6.5, 4.4.15.9, 4.0.10.18
  19. High · 7.5 CVE-2017-1000016 >= 4.6, < 4.6.6 4.6.6
Show more (19) Showing 20 of 39

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.