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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.1
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.
- Record
CVE-2021-29447- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N - Weakness
- CWE-611
- Updated
- 2026-11-02
EUVDEUVD-2021-16064
7.1
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.
- Record
EUVD-2021-16064- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N - Updated
- 2026-11-03
NVD
7.1
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.
- Record
CVE-2021-29447- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:P/I:N/A:N - Weakness
- CWE-611
- Updated
- 2026-11-02
OSV
6.5
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.
- Record
CVE-2021-29447- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-08
OSVDEBIAN-CVE-2021-29447
6.5
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.
- Record
DEBIAN-CVE-2021-29447- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-29447
7.1
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.
- Record
UBUNTU-CVE-2021-29447- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N - CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVBIT-wordpress-2021-29447 No score
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.
- Record
BIT-wordpress-2021-29447- Updated
- 2026-11-02
OSVBIT-wordpress-multisite-2021-29447 No score
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.
- Record
BIT-wordpress-multisite-2021-29447- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
wordpressBitnami |
5.6.0 up to 5.7.1 | 5.7.1 |
wordpress-multisiteBitnami |
5.6.0 up to 5.7.1 | 5.7.1 |
wordpressDebian:12 |
before 5.7.1+dfsg1-1 | 5.7.1+dfsg1-1 |
wordpressDebian:13 |
before 5.7.1+dfsg1-1 | 5.7.1+dfsg1-1 |
wordpressDebian:14 |
before 5.7.1+dfsg1-1 | 5.7.1+dfsg1-1 |
wordpressDebian:9 From an advisory covering 2 CVEs |
before 4.7.20+dfsg-1+deb9u1, plus listed versions 4.7.18+dfsg-1+deb9u14.7.19+dfsg-1+deb9u14.7.5+dfsg-24.7.5+dfsg-2+deb9u14.7.5+dfsg-2+deb9u1~bpo8+1 Show 6 moreShow less4.7.5+dfsg-2+deb9u24.7.5+dfsg-2+deb9u2~bpo8+14.7.5+dfsg-2+deb9u34.7.5+dfsg-2+deb9u44.7.5+dfsg-2+deb9u54.7.5+dfsg-2+deb9u6 |
4.7.20+dfsg-1+deb9u1 |
wordpressDebian:10 From an advisory covering 2 CVEs |
before 5.0.12+dfsg1-0+deb10u1, plus listed versions 5.0.10+dfsg1-0+deb10u15.0.11+dfsg1-0+deb10u15.0.4+dfsg1-15.0.4+dfsg1-1+deb10u15.0.4+dfsg1-1+deb10u2 |
5.0.12+dfsg1-0+deb10u1 |
wordpressUbuntu:16.04:LTS |
All versions, plus listed versions 4.3+dfsg-14.3.1+dfsg-14.4+dfsg-14.4.1+dfsg-14.4.2+dfsg-14.4.2+dfsg-1ubuntu1 |
None known |
wordpressUbuntu:18.04:LTS |
All versions, plus listed versions 4.8.2+dfsg-24.8.3+dfsg-14.9.1+dfsg-14.9.2+dfsg-14.9.4+dfsg-14.9.5+dfsg1-1 |
None known |
wordpressUbuntu:20.04:LTS |
All versions, plus listed versions 5.2.2+dfsg1-15.2.4+dfsg1-15.3.2+dfsg1-15.3.2+dfsg1-1ubuntu1 |
None known |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
wordpressUbuntu:22.04:LTS |
All versions, plus listed versions 5.7.1+dfsg1-2ubuntu15.8.1+dfsg1-2ubuntu15.8.2+dfsg1-1ubuntu15.8.3+dfsg1-1ubuntu15.8.3+dfsg1-1ubuntu1.1 |
None known |
wordpressUbuntu:24.04:LTS |
All versions, plus listed versions 6.2+dfsg1-1ubuntu16.4.3+dfsg1-1ubuntu1 |
None known |
wordpressUbuntu:25.10 |
All versions, plus listed versions 6.7.2+dfsg1-1.1ubuntu1 |
None known |
wordpressUbuntu:26.10 |
All versions, plus listed versions 6.7.2+dfsg1-1.1ubuntu2 |
None known |
wordpressUbuntu:26.04:LTS |
All versions, plus listed versions 6.7.2+dfsg1-1.1ubuntu16.7.2+dfsg1-1.1ubuntu2 |
None known |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | motikan2010/CVE-2021-29447 | 2021-04-16 |
| PoC in GitHub | Vulnmachines/wordpress_cve-2021-29447 | 2021-05-23 |
| PoC in GitHub | dnr6419/CVE-2021-29447 | 2021-06-01 |
| PoC in GitHub | AssassinUKG/CVE-2021-29447 | 2021-08-27 |
| Exploit-DB | WordPress 5.7 - 'Media Library' XML External Entity Injection (XXE) (Authenticated) | 2021-09-20 |
| PoC in GitHub | b-abderrahmane/CVE-2021-29447-POC | 2022-11-05 |
| PoC in GitHub | Val-Resh/CVE-2021-29447-POC | 2022-11-06 |
| PoC in GitHub | elf1337/blind-xxe-controller-CVE-2021-29447 | 2022-11-06 |
| PoC in GitHub | M3l0nPan/wordpress-cve-2021-29447 | 2022-11-11 |
| PoC in GitHub | mega8bit/exploit_cve-2021-29447 | 2022-11-14 |
Show 15 moreShow less
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | thomas-osgood/CVE-2021-29447 | 2022-11-15 |
| PoC in GitHub | Abdulazizalsewedy/CVE-2021-29447 | 2022-11-17 |
| PoC in GitHub | G01d3nW01f/CVE-2021-29447 | 2022-12-25 |
| PoC in GitHub | viardant/CVE-2021-29447 | 2023-01-10 |
| PoC in GitHub | 0xRar/CVE-2021-29447-PoC | 2023-01-24 |
| PoC in GitHub | andyhsu024/CVE-2021-29447 | 2023-04-24 |
| PoC in GitHub | specializzazione-cyber-security/demo-CVE-2021-29447-lezione | 2024-12-03 |
| PoC in GitHub | magicrc/CVE-2021-29447 | 2025-06-12 |
| PoC in GitHub | Tea-On/CVE-2021-29447-Authenticated-XXE-WordPress-5.6-5.7 | 2025-07-04 |
| PoC in GitHub | ArtemCyberLab/Project-Project-Chimera-Exploiting-a-Modern-WordPress-XXE-to-Pillage-Secrets- | 2025-08-20 |
| PoC in GitHub | 0xricksanchez/CVE-2021-29447 | 2025-10-31 |
| PoC in GitHub | davids52/cve-2021-29447_auto-script | 2025-12-18 |
| PoC in GitHub | rdana55/CVE-2021-29447-PoC | 2026-01-18 |
| PoC in GitHub | danilo1992-sys/CVE-2021-29447 | 2026-03-20 |
| PoC in GitHub | Kashyapghodasara/Public_Exploit-1--Wordpress-CVE-2021-29447 | 2026-09-16 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| exploits | ||
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-29447 is a high vulnerability (CVSS 7.1) in Wordpress, published April 15, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 85.7%, the 99th percentile. Fixed in wordpress 5.7.1.
References
github.com/WordPress/wordpress-develop/security/advisories/GHSA-rv47-pc52-qrhh
wordpress.org/news/category/security
lists.debian.org/debian-lts-announce/2021/04/msg00017.html
debian.org/security/2021/dsa-4896
packetstormsecurity.com/files/163148/XML-External-Entity-Via-MP3-File-Upload-On-WordPress.html
packetstormsecurity.com/files/164198/WordPress-5.7-Media-Library-XML-Injection.html