CVE-2021-29447
WordPress Authenticated XXE attack when installation is running PHP 8
Reported by github_m · Published April 15, 2021
Wordpress is an open source CMS. A user with the ability to upload files (like an Author) can exploit an XML parsing issue in the Media Library leading to XXE attacks. This requires WordPress installation to be using PHP 8. Access to internal files is possible in a successful XXE attack. This has been patched in WordPress version 5.7.1, along with the older affected versions via a minor release. We strongly recommend you keep auto-updates enabled.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| wordpress | wordpress | 5.7.1 |
| wordpress | Bitnami | 5.7.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| WordPress | wordpress-develop | >= 5.6.0, < 5.7.1 |
| WordPress | wordpress-develop | 5.6.0 |
| arch | wordpress | 0 |
Timeline
- Apr 15, 2021 CVE Published
- Apr 16, 2021 EPSS Score (30 in total, the first dated here)
- Sep 20, 2021 PoC Published (3 in total, the first dated here)
- Aug 3, 2024 CVE Updated
- Mar 10, 2026 Distribution Patch
- Mar 10, 2026 Security Advisory
- Aug 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-29447
vulnetix vdb fixes CVE-2021-29447
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-29447/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- [debian-lts-announce] 20210421 [SECURITY] [DLA 2630-1] wordpress security update mailing-listx_refsource_MLIST
- DSA-4896 vendor-advisoryx_refsource_DEBIAN
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC