Advisories · WordPress
CVE-2021-29447
Medium
CVSS 6.6
WordPress media XXE
Disclosed 2021 · Last reviewed 2 Dec 2026
An author could upload a media file that made PHP parse external XML entities.
What happened
ID3 parsing of a WAV file used a libxml configuration that resolved entities.
Affected and patched versions
- Affected
- WordPress 5.6 through 5.7 before the 5.7.1 security release, and the matching older branches. An author account was required.
- Patched
- 5.7.1 and the security releases for older branches.
How to check your server
Check
wp core version
How to fix and harden
- Update WordPress.
- Author accounts are privileged. Remove authors who should not publish.
Fix
wp core version
Sources
Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON