Description
Cross-site scripting (XSS) vulnerability in libraries/schema/Export_Relation_Schema.class.php in phpMyAdmin 3.5.x before 3.5.8.2 and 4.0.x before 4.0.4.2 allows remote authenticated users to inject arbitrary web script or HTML via a crafted pageNumber value to schema_export.php.
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.0.4.2-1 | — |
| Debian 13 | phpmyadmin | 4:4.0.4.2-1 | — |
| Debian 12 | phpmyadmin | 4:4.0.4.2-1 | — |
| Debian 7 | phpmyadmin | 4:3.4.11.1-2+deb7u1 | DSA-2975-1 |
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 | >= 3.5, < 3.5.8.2 | 3.5.8.2 | GHSA-p632-5w74-x8xx |
| Packagist | phpmyadmin/phpmyadmin | >= 4.0, < 4.0.4.2 | 4.0.4.2 | GHSA-p632-5w74-x8xx |
Advisories 2
- DSA-2975-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
- 59832 third-party-advisory
- 61516 vdb-entry
- http://www.phpmyadmin.net/home_page/security/PMASA-2013-14.php