Description
The get_allowed_mime_types function in wp-includes/functions.php in WordPress before 3.6.1 does not require the unfiltered_html capability for uploads of .htm and .html files, which might make it easier for remote authenticated users to conduct cross-site scripting (XSS) attacks via a crafted file.
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 | 3.6.1+dfsg-1 | — |
| Debian 13 | wordpress | 3.6.1+dfsg-1 | — |
| Debian 12 | wordpress | 3.6.1+dfsg-1 | — |
| Debian 7 | wordpress | 3.6.1+dfsg-1~deb7u1 | DSA-2757-1 |
| Debian 6.0 | wordpress | 3.6.1+dfsg-1~deb6u1 | DSA-2757-1 |
Advisories 1
- DSA-2757-1 wordpress - several Debian Security (DSA / DLA) · Mar 9, 2026