Description
Cross-site scripting (XSS) vulnerability in wp-admin/vars.php in WordPress before 2.0.10 RC2, and before 2.1.3 RC2 in the 2.1 series, allows remote authenticated users with theme privileges to inject arbitrary web script or HTML via the PATH_INFO in the administration interface, related to loose regular expression processing of PHP_SELF.
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 | wordpress | 2.1.3-1 | — |
| Debian 13 | wordpress | 2.1.3-1 | — |
| Debian 12 | wordpress | 2.1.3-1 | — |
| Debian 4.0 | wordpress | 2.0.10-1 | DSA-1285-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
- WordPress Core < 2.1.2 - 'PHP_Self' Cross-Site Scripting EDB-29754 · webapps · Mar 19, 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-1285-1 wordpress Debian Security (DSA / DLA) · Mar 9, 2026
References
- ADV-2007-1005 vdb-entry
- http://www.buayacorp.com/files/wordpress/wordpress-advisory.txt
- 23027 vdb-entry
- 25108 third-party-advisory
- 24567 third-party-advisory
- DSA-1285 vendor-advisory
- http://sla.ckers.org/forum/read.php?2%2C7935#msg-8006