CVE-2021-29447
CVE-2021-29447 — WordPress Authenticated XXE attack when installation is running PHP 8
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Public exploit
exploit code published, no use observed
EPSS
86%
chance of exploitation in 30 days
CVSS base
7.1
HIGH
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.1 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-611
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
Indexed by
References
7 on the record
- github.com/WordPress/wordpress-develop/security/advisories/GHSA-rv47-pc52-qrhh
x_refsource_CONFIRM
- wordpress.org/news/category/security/
x_refsource_MISC
- lists.debian.org/debian-lts-announce/2021/04/msg00017.html
mailing-list, x_refsource_MLIST
- www.debian.org/security/2021/dsa-4896
vendor-advisory, x_refsource_DEBIAN
- packetstormsecurity.com/files/163148/XML-External-Entity-Via-MP3-File-Upload-On-WordPress.html
x_refsource_MISC
- packetstormsecurity.com/files/164198/WordPress-5.7-Media-Library-XML-Injection.html
x_refsource_MISC
- blog.sonarsource.com/wordpress-xxe-security-vulnerability/
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2022-21661 SQL injection in WordPressCVSS 7.5
- CVE-2025-58360 GeoServer is vulnerable to an Unauthenticated XML External Entities (XXE) attack via WMS GetMap featureCVSS 9.8 · CISA KEV
- CVE-2025-2776 SysAid On-Prem <= 23.3.40 serverurl Proceessing XML External Entity InjectionCVSS 9.8 · CISA KEV
- CVE-2024-34102 XXE can expose crypt key and other secrets granting full admin accessCVSS 9.8 · CISA KEV
- CVE-2019-9670 Synacor Zimbra Collaboration Suite (ZCS) Improper Restriction of XML External Entity ReferenceCVSS 9.8 · CISA KEV
- CVE-2026-20320 Cisco BroadWorks Improper Restriction of XML External Entity Reference VulnerabilityCVSS 7.5 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.