Description
Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 4.0.x before 4.0.10.16, 4.4.x before 4.4.15.7, and 4.6.x before 4.6.3 allow remote attackers to inject arbitrary web script or HTML via vectors involving (1) a crafted table name that is mishandled during privilege checking in table_row.phtml, (2) a crafted mysqld log_bin directive that is mishandled in log_selector.phtml, (3) the Transformation implementation, (4) AJAX error handling in js/ajax.js, (5) the Designer implementation, (6) the charts implementation in js/tbl_chart.js, or (7) the zoom-search implementation in rows_zoom.phtml.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | phpmyadmin | 4:4.6.3-1 | — |
| Debian 13 | phpmyadmin | 4:4.6.3-1 | — |
| Debian 12 | phpmyadmin | 4:4.6.3-1 | — |
| Debian 8 | phpmyadmin | 4:4.2.12-2+deb8u2 | DSA-3627-1 |
| Debian 7 | phpmyadmin | 4:3.4.11.1-2+deb7u5 | DLA-551-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu Pro 14.04 LTS | phpmyadmin | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | phpMyAdmin | 4.6.5.2-1.1 | openSUSE-SU-2024:10054-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | phpmyadmin/phpmyadmin | >= 4.0.10.0, < 4.0.10.16 | 4.0.10.16 | GHSA-cr65-p662-fx5c |
| Packagist | phpmyadmin/phpmyadmin | >= 4.4.15.0, < 4.4.15.7 | 4.4.15.7 | GHSA-cr65-p662-fx5c |
| Packagist | phpmyadmin/phpmyadmin | >= 4.6.0, < 4.6.3 | 4.6.3 | GHSA-cr65-p662-fx5c |
Advisories 3
- DLA-551-1 phpmyadmin - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3627-1 phpmyadmin - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10054-1 phpMyAdmin-4.6.5.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/phpmyadmin/phpmyadmin/commit/d648ade18d6cbb796a93261491c121f078df2d88
- https://github.com/phpmyadmin/phpmyadmin/commit/4d21b5c077db50c2a54b7f569d20f463cc2651f5
- openSUSE-SU-2016:1700 vendor-advisory
- https://github.com/phpmyadmin/phpmyadmin/commit/895a131d2eb7e447757a35d5731c7d647823ea8b
- DSA-3627 vendor-advisory
- 91390 vdb-entry
- https://github.com/phpmyadmin/phpmyadmin/commit/615212a14d7d87712202f37354acf8581987fc5a
- https://www.phpmyadmin.net/security/PMASA-2016-26/
- https://github.com/phpmyadmin/phpmyadmin/commit/79661610f6f65443e0ec1e382a7240437f28436c
- https://github.com/phpmyadmin/phpmyadmin/commit/be3ecbb4cca3fbe20e3b3aa4e049902d18b60865
- https://github.com/phpmyadmin/phpmyadmin/commit/8716855b309dbe65d7b9a5d681b80579b225b322
- https://github.com/phpmyadmin/phpmyadmin/commit/960fd1fd52023047a23d069178bfff7463c2cefc
- GLSA-201701-32 vendor-advisory
- openSUSE-SU-2016:1699 vendor-advisory