Description
phpMyAdmin through 5.2.3 contains a stored cross-site scripting vulnerability that allows database users with CREATE privilege to inject script via unescaped table names in DesignerHistory.display(). Attackers can create a table whose name contains HTML markup that executes in another user's session when they add a condition on it in Designer query mode.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| phpMyAdmin | phpMyAdmin | ≤ 5.2.3 | — |
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 | No fix yet | — |
| Debian 13 | phpmyadmin | No fix yet | — |
| Debian 12 | phpmyadmin | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | phpmyadmin | No fix yet | — |
| Ubuntu 26.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu 24.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu 22.04 LTS | phpmyadmin | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu Pro 18.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu Pro 16.04 LTS | phpmyadmin | No fix yet | — |
| Ubuntu Pro 14.04 LTS | phpmyadmin | No fix yet | — |
Advisories 1
- WID-SEC-2026-4278 phpMyAdmin: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 1, 2026
References
- https://github.com/phpmyadmin/phpmyadmin/blob/RELEASE_5_2_3/js/src/designer/history.js#L85-L86 technical-description
- https://abraxaslabs.tech/research/phpmyadmin-vqb-xss third-party-advisory
- https://github.com/phpmyadmin/phpmyadmin product
- VulnCheck Advisory: phpMyAdmin through 5.2.3 Stored XSS via Designer Query History Table Name third-party-advisory