Description
Cross-site scripting (XSS) vulnerability in the micro history implementation in phpMyAdmin 4.0.x before 4.0.10.3, 4.1.x before 4.1.14.4, and 4.2.x before 4.2.8.1 allows remote attackers to inject arbitrary web script or HTML, and consequently conduct a cross-site request forgery (CSRF) attack to create a root account, via a crafted URL, related to js/ajax.js.
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.2.8.1-1 | — |
| Debian 13 | phpmyadmin | 4:4.2.8.1-1 | — |
| Debian 12 | phpmyadmin | 4:4.2.8.1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.0, < 4.0.10.3 | 4.0.10.3 | GHSA-6wfj-2mw7-p5cg |
| Packagist | phpmyadmin/phpmyadmin | >= 4.1.0, < 4.1.14.4 | 4.1.14.4 | GHSA-6wfj-2mw7-p5cg |
| Packagist | phpmyadmin/phpmyadmin | >= 4.2.0, < 4.2.8.1 | 4.2.8.1 | GHSA-6wfj-2mw7-p5cg |
Advisories 1
- openSUSE-SU-2024:10054-1 phpMyAdmin-4.6.5.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026