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.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| WordPress | wordpress-develop | >= 5.6.0, < 5.7.1 |
References
- http://packetstormsecurity.com/files/163148/XML-External-Entity-Via-MP3-File-Upload-On-WordPress.htmlThird Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/164198/WordPress-5.7-Media-Library-XML-Injection.htmlExploit, Third Party Advisory, VDB Entry
- https://blog.sonarsource.com/wordpress-xxe-security-vulnerability/Exploit, Third Party Advisory
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rv47-pc52-qrhhThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/04/msg00017.htmlMailing List, Third Party Advisory
- https://wordpress.org/news/category/security/Release Notes, Vendor Advisory
- https://www.debian.org/security/2021/dsa-4896Third Party Advisory
- http://packetstormsecurity.com/files/163148/XML-External-Entity-Via-MP3-File-Upload-On-WordPress.htmlThird Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/164198/WordPress-5.7-Media-Library-XML-Injection.htmlExploit, Third Party Advisory, VDB Entry
- https://blog.sonarsource.com/wordpress-xxe-security-vulnerability/Exploit, Third Party Advisory
- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rv47-pc52-qrhhThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/04/msg00017.htmlMailing List, Third Party Advisory
- https://wordpress.org/news/category/security/Release Notes, Vendor Advisory
- https://www.debian.org/security/2021/dsa-4896Third Party Advisory
Timeline
- Published
- Apr 15, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified