CVE-2021-29447
published high CVSS 3.1 · 7.1WordPress Authenticated XXE attack when installation is running PHP 8
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| WordPress | — | wordpress-develop>= 5.6.0, < 5.7.1 | Affected | Not stated | GitHub_M |
| Debian | buster | wordpress | Advisory build | 5.0.12+dfsg1-0+deb10u1 | DSA-4896-1 |
| Debian | stretch | wordpress | Advisory build | 4.7.20+dfsg-1+deb9u1 | DLA-2630-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| WordPress | wordpress-develop | >= 5.6.0, < 5.7.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-611 {"CWE-611":"Improper Restriction of XML External Entity Reference"}
References
7- 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://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rv47-pc52-qrhh
- [debian-lts-announce] 20210421 [SECURITY] [DLA 2630-1] wordpress security update https://lists.debian.org/debian-lts-announce/2021/04/msg00017.html
- https://wordpress.org/news/category/security/
- DSA-4896 https://www.debian.org/security/2021/dsa-4896
Provider assertions
2GitHub_M · cna
WordPress Authenticated XXE attack when installation is running PHP 8
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 74d923a6861fc7a615dc60fd01369077f2208670a5768e27d3fb45e03ed0a45c
- Ingested
- 23 Sep 2026, 07:53:55 UTC
- Source record
- Official CVE record