Description
In WordPress before 4.9.9 and 5.x before 5.0.1, when the Apache HTTP Server is used, authors could upload crafted files that bypass intended MIME type restrictions, leading to XSS, as demonstrated by a .jpg file without JPEG data.
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 | 5.0.1+dfsg1-1 | — |
| Debian 13 | wordpress | 5.0.1+dfsg1-1 | — |
| Debian 12 | wordpress | 5.0.1+dfsg1-1 | — |
| Debian 9 | wordpress | 4.7.5+dfsg-2+deb9u5 | DSA-4401-1 |
| Debian 8 | wordpress | 4.1.25+dfsg-1+deb8u1 | DLA-1673-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | wordpress | No fix yet | — |
| Ubuntu 16.04 LTS | wordpress | No fix yet | — |
Advisories 2
- DSA-4401-1 wordpress - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1673-1 wordpress - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- 106220 vdb-entry
- https://wordpress.org/support/wordpress-version/version-5-0-1/
- https://codex.wordpress.org/Version_4.9.9
- https://wpvulndb.com/vulnerabilities/9175
- https://github.com/WordPress/WordPress/commit/246a70bdbfac3bd45ff71c7941deef1bb206b19a
- DSA-4401 vendor-advisory
- https://wordpress.org/news/2018/12/wordpress-5-0-1-security-release/
- [debian-lts-announce] 20190211 [SECURITY] [DLA 1673-1] wordpress security update mailing-list
- https://www.zdnet.com/article/wordpress-plugs-bug-that-led-to-google-indexing-some-user-passwords/