CVE-2021-29447
WordPress Authenticated XXE attack when installation is running PHP 8
- State
- Published
- Severity
- 7.1 High
- Published
- Apr 15, 2021
- Updated
- Aug 3, 2024
- Reserved
- Mar 30, 2021
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.1 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N | GitHub_M |
Weaknesses
- CWE-611 {"CWE-611":"Improper Restriction of XML External Entity Reference"}
Affected Products
| Product | Versions |
|---|---|
wordpress-developWordPress |
|
References
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rv47-pc52-qrhh
- https://wordpress.org/news/category/security/
- [debian-lts-announce] 20210421 [SECURITY] [DLA 2630-1] wordpress security updatemailing-list
- DSA-4896vendor-advisory
- 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/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.