Vulnerability · Published Apr 15, 2021 · Assigned by GitHub_M
CVE-2021-29447WordPress Authenticated XXE attack when installation is running PHP 8
High 7.1
In plain English
A high-severity XML external entity in wordpress-develop from WordPress. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 85.7% (higher than 99.7% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | wordpress | 5.7.1+dfsg1-1 | DEBIAN-CVE-2021-29447 |
| Debian:13 | wordpress | 5.7.1+dfsg1-1 | DEBIAN-CVE-2021-29447 |
| Debian:14 | wordpress | 5.7.1+dfsg1-1 | DEBIAN-CVE-2021-29447 |
| Ubuntu:22.04:LTS | wordpress | no fix listed | UBUNTU-CVE-2021-29447 |
| Ubuntu:24.04:LTS | wordpress | no fix listed | UBUNTU-CVE-2021-29447 |
| Ubuntu:25.10 | wordpress | no fix listed | UBUNTU-CVE-2021-29447 |
| Ubuntu:26.04:LTS | wordpress | no fix listed | UBUNTU-CVE-2021-29447 |
| Ubuntu:26.10 | wordpress | no fix listed | UBUNTU-CVE-2021-29447 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| WordPress | wordpress-develop | >= 5.6.0, < 5.7.1 |
Weakness: CWE-611 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
References
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rv47-pc52-qrhh x_refsource_CONFIRM
- https://wordpress.org/news/category/security/ x_refsource_MISC
- [debian-lts-announce] 20210421 [SECURITY] [DLA 2630-1] wordpress security update mailing-list, x_refsource_MLIST
- DSA-4896 vendor-advisory, x_refsource_DEBIAN
- http://packetstormsecurity.com/files/163148/XML-External-Entity-Via-MP3-File-Upload-On-WordPress.html x_refsource_MISC
- http://packetstormsecurity.com/files/164198/WordPress-5.7-Media-Library-XML-Injection.html x_refsource_MISC
- https://blog.sonarsource.com/wordpress-xxe-security-vulnerability/ x_refsource_MISC