# CVE-2021-29447: WordPress Authenticated XXE attack when installation is running PHP 8

- Priority: **Prioritise**
- Reason: Public exploit (exploit-database, 20-09-2021)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-04-15 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-29447, DEBIAN-CVE-2021-29447
- Record: https://cvemate.com/vulnerability/CVE-2021-29447 · JSON: https://cvemate.com/vulnerability/CVE-2021-29447/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- EPSS: 85.719%, percentile 99.726%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 3 (reference, exploit-database)

## Affected

- debian wordpress (Debian): \< 5.7.1+dfsg1-1
- ubuntu wordpress (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 9.0 \| 10.0
- wordpress wordpress: ≥ 4.7, \< 4.7.20 \| ≥ 4.8, \< 4.8.16 (fixed in 4.7.20) \| ≥ 4.9, \< 4.9.17 (fixed in 4.7.20) \| ≥ 5.0, \< 5.0.12 (fixed in 4.7.20) \| ≥ 5.1, \< 5.1.9 (fixed in 4.7.20) \| ≥ 5.2, \< 5.2.10 (fixed in 4.7.20) \| ≥ 5.3, \< 5.3.7 (fixed in 4.7.20) \| ≥ 5.4, \< 5.4.5 (fixed in 4.7.20) \| ≥ 5.5, \< 5.5.4 (fixed in 4.7.20) \| ≥ 5.6, \< 5.6.3 (fixed in 4.7.20) \| ≥ 5.7, \< 5.7.1 (fixed in 4.7.20)
- wordpress wordpress: ≥ 5.6.0, \< 5.7.1
- wordpress wordpress-develop: ≥ 5.6.0, \< 5.7.1

## References

- <https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rv47-pc52-qrhh>
- <https://wordpress.org/news/category/security/>
- <https://lists.debian.org/debian-lts-announce/2021/04/msg00017.html>
- <https://www.debian.org/security/2021/dsa-4896>
- <http://packetstormsecurity.com/files/163148/XML-External-Entity-Via-MP3-File-Upload-On-WordPress.html>
- <http://packetstormsecurity.com/files/164198/WordPress-5.7-Media-Library-XML-Injection.html>
- <https://blog.sonarsource.com/wordpress-xxe-security-vulnerability/>
- <https://ubuntu.com/security/CVE-2021-29447>
- <https://www.cve.org/CVERecord?id=CVE-2021-29447>
- <https://security-tracker.debian.org/tracker/CVE-2021-29447>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/9df45c8e-c040-4031-9c51-4c43d12f08b0>

---

Data as of 2026-12-05T04:50:48.166Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
