CVE-2021-29447: WordPress Authenticated XXE attack when installation is running PHP 8
Vulnerability summary
CVE-2021-29447 is a high (CVSS 7.1) vulnerability in debian debian_linux. EPSS estimates a 85.72% chance of exploitation in the next 30 days, higher than 99.7% of scored vulnerabilities. 3 public exploits are recorded.
Public exploit (exploit-database, 20-09-2021)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2Timeline
- 15-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
- wordfenceSource7.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
EPSS trend
Probability
85.72%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 85.72% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
3 foundExploit Reference (packetstormsecurity.com)
Maturity: unknown
Exploit Reference (blog.sonarsource.com)
Maturity: unknown
WordPress 5.7 - 'Media Library' Authenticated XML External Entity (XXE)
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Wordpress3 products
- wordpress≥ 4.7, < 4.7.20 | ≥ 4.8, < 4.8.16 (fixed in 4.7.20) | ≥ 4.9, < 4.9.17 (fixed in 4.7.20) | ≥ 5.0, < 5.0.12 (fixed in 4.7.20) | ≥ 5.1, < 5.1.9 (fixed in 4.7.20) | ≥ 5.2, < 5.2.10 (fixed in 4.7.20) | ≥ 5.3, < 5.3.7 (fixed in 4.7.20) | ≥ 5.4, < 5.4.5 (fixed in 4.7.20) | ≥ 5.5, < 5.5.4 (fixed in 4.7.20) | ≥ 5.6, < 5.6.3 (fixed in 4.7.20) | ≥ 5.7, < 5.7.1 (fixed in 4.7.20)
- wordpress≥ 5.6.0, < 5.7.1
- wordpress-develop≥ 5.6.0, < 5.7.1
Debian2 products
- wordpress< 5.7.1+dfsg1-1
- debian_linuxEOL9.0 | 10.0
Ubuntu1 product
- wordpressAll versions (No fix recorded)
3 vendors · 6 products
References
11 links- github.com/WordPress/wordpress-develop/security/advisories/GHSA-rv47-pc52-qrhhX Refsource CONFIRMREPORTThird Party Advisory
- lists.debian.org/debian-lts-announce/2021/04/msg00017.htmlMailing ListX Refsource MLISTThird Party Advisory
- packetstormsecurity.com/files/163148/XML-External-Entity-Via-MP3-File-Upload-On-WordPress.htmlX Refsource MISCThird Party AdvisoryVDB Entry
- packetstormsecurity.com/files/164198/WordPress-5.7-Media-Library-XML-Injection.htmlX Refsource MISCExploitThird Party AdvisoryVDB Entry
- blog.sonarsource.com/wordpress-xxe-security-vulnerability/X Refsource MISCExploitThird Party Advisory