Description
Cross-site scripting (XSS) vulnerability in scripts/setup.php in phpMyAdmin 2.11.1, when accessed by a browser that does not URL-encode requests, allows remote attackers to inject arbitrary web script or HTML via the query string.
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:2.11.1.2-1 | — |
| Debian 13 | phpmyadmin | 4:2.11.1.2-1 | — |
| Debian 12 | phpmyadmin | 4:2.11.1.2-1 | — |
| Debian 4.0 | phpmyadmin | 4:2.9.1.1-6 | DSA-1403-1 |
| Debian 3.1 | phpmyadmin | 4:2.6.2-3sarge6 | DSA-1403-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- phpMyAdmin 2.11.1 - 'setup.php' Cross-Site Scripting EDB-30653 · webapps · Oct 9, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-1403-1 phpmyadmin - cross-site scripting Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin/trunk/?view=log
- 27173 third-party-advisory
- FEDORA-2007-2738 vendor-advisory
- 27506 third-party-advisory
- phpmyadmin-setup-xss(37077) vdb-entry
- DSA-1403 vendor-advisory
- 20071015 about phpMyAdmin setup.php XSS vulnerability mailing-list
- 37678 vdb-entry
- MDKSA-2007:199 vendor-advisory
- 27595 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=333661
- http://www.digitrustgroup.com/advisories/TDG-advisory071009a
- 26020 vdb-entry
- ADV-2007-3469 vdb-entry
- http://phpmyadmin.svn.sourceforge.net/viewvc/phpmyadmin/branches/MAINT_2_11_1/phpMyAdmin/ChangeLog?r1=10748&r2=10747&pathrev=10748
- https://sourceforge.net/tracker/index.php?func=detail&aid=1810629&group_id=23067&atid=377408
- http://www.phpmyadmin.net/home_page/security.php?issue=PMASA-2007-5