7.1
HIGH CVSS 3.1
CVE-2021-29447
WordPress XML External Entity Injection (XXE) Vulnerability
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.

INFO

Published Date :

April 15, 2021, 9:15 p.m.

Last Modified :

Nov. 21, 2024, 6:01 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2021-29447 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Wordpress wordpress
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 3.1 MEDIUM [email protected]
Solution
A vulnerability in WordPress allows for XML External Entity (XXE) Injection attacks, so the WordPress installation should be updated to the latest version.
  • Upgrade WordPress to version 5.7.1 or later.
  • Upgrade the WordPress packages.
Public PoC/Exploit Available at Github

CVE-2021-29447 has a 96 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-29447.

URL Resource
http://packetstormsecurity.com/files/163148/XML-External-Entity-Via-MP3-File-Upload-On-WordPress.html Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/164198/WordPress-5.7-Media-Library-XML-Injection.html Exploit 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-qrhh Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/04/msg00017.html Mailing List Third Party Advisory
https://wordpress.org/news/category/security/ Release Notes Vendor Advisory
https://www.debian.org/security/2021/dsa-4896 Third Party Advisory
http://packetstormsecurity.com/files/163148/XML-External-Entity-Via-MP3-File-Upload-On-WordPress.html Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/164198/WordPress-5.7-Media-Library-XML-Injection.html Exploit 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-qrhh Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/04/msg00017.html Mailing List Third Party Advisory
https://wordpress.org/news/category/security/ Release Notes Vendor Advisory
https://www.debian.org/security/2021/dsa-4896 Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-29447 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-29447 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

TryHackMe Modules

Updated: 4 days ago
0 stars 0 fork 0 watcher
Born at : Aug. 21, 2025, 3 p.m. This repo has been linked 5 different CVEs too.

The objective is to conduct a full-scale security assessment of a WordPress-based web application, culminating in a complete server compromise. The assessment will focus on exploiting a specific, real-world vulnerability (CVE-2021-29447) to achieve initial access.

Updated: 2 days, 2 hours ago
1 stars 0 fork 0 watcher
Born at : Aug. 20, 2025, 10:20 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 week, 3 days ago
0 stars 0 fork 0 watcher
Born at : Aug. 15, 2025, 12:35 p.m. This repo has been linked 10 different CVEs too.

None

Updated: 1 week, 3 days ago
0 stars 0 fork 0 watcher
Born at : Aug. 15, 2025, 9:07 a.m. This repo has been linked 310 different CVEs too.

None

Updated: 2 weeks, 5 days ago
3 stars 0 fork 0 watcher
Born at : Aug. 4, 2025, 7:47 p.m. This repo has been linked 5 different CVEs too.

None

Updated: 3 weeks, 6 days ago
0 stars 0 fork 0 watcher
Born at : July 29, 2025, 7:25 a.m. This repo has been linked 10 different CVEs too.

None

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : July 22, 2025, 7:16 a.m. This repo has been linked 5 different CVEs too.

None

Updated: 1 month ago
2 stars 0 fork 0 watcher
Born at : July 17, 2025, 1:24 p.m. This repo has been linked 10 different CVEs too.

None

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : July 10, 2025, 8:36 a.m. This repo has been linked 12 different CVEs too.

None

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : July 8, 2025, 7:12 p.m. This repo has been linked 10 different CVEs too.

POC to exploit WordPress 5.6-5.7 (PHP 8+) Authenticated XXE Injection.

Python

Updated: 1 month, 2 weeks ago
3 stars 0 fork 0 watcher
Born at : July 4, 2025, 8:08 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : June 29, 2025, 1:36 a.m. This repo has been linked 19 different CVEs too.

PoC for CVE-2021-29447

cve-2021-29447 python wordpress xxe exploit

Python

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : June 12, 2025, 5:52 p.m. This repo has been linked 1 different CVEs too.

Notes about my cybersecurity learning (Pentester Job Role)

Updated: 1 week, 5 days ago
0 stars 0 fork 0 watcher
Born at : June 11, 2025, 4:08 p.m. This repo has been linked 10 different CVEs too.

CVE POC repo 자동 수집기

Python

Updated: 14 hours, 58 minutes ago
0 stars 1 fork 1 watcher
Born at : June 8, 2025, 3:07 p.m. This repo has been linked 125 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-29447 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-29447 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/163148/XML-External-Entity-Via-MP3-File-Upload-On-WordPress.html
    Added Reference http://packetstormsecurity.com/files/164198/WordPress-5.7-Media-Library-XML-Injection.html
    Added Reference https://blog.sonarsource.com/wordpress-xxe-security-vulnerability/
    Added Reference https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rv47-pc52-qrhh
    Added Reference https://lists.debian.org/debian-lts-announce/2021/04/msg00017.html
    Added Reference https://wordpress.org/news/category/security/
    Added Reference https://www.debian.org/security/2021/dsa-4896
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Oct. 27, 2022

    Action Type Old Value New Value
    Changed Reference Type https://blog.sonarsource.com/wordpress-xxe-security-vulnerability/ No Types Assigned https://blog.sonarsource.com/wordpress-xxe-security-vulnerability/ Exploit, Third Party Advisory
  • CVE Modified by [email protected]

    Sep. 13, 2022

    Action Type Old Value New Value
    Added Reference https://blog.sonarsource.com/wordpress-xxe-security-vulnerability/ [No Types Assigned]
  • Modified Analysis by [email protected]

    Dec. 16, 2021

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/163148/XML-External-Entity-Via-MP3-File-Upload-On-WordPress.html No Types Assigned http://packetstormsecurity.com/files/163148/XML-External-Entity-Via-MP3-File-Upload-On-WordPress.html Third Party Advisory, VDB Entry
    Changed Reference Type http://packetstormsecurity.com/files/164198/WordPress-5.7-Media-Library-XML-Injection.html No Types Assigned http://packetstormsecurity.com/files/164198/WordPress-5.7-Media-Library-XML-Injection.html Exploit, Third Party Advisory, VDB Entry
  • CVE Modified by [email protected]

    Sep. 20, 2021

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/164198/WordPress-5.7-Media-Library-XML-Injection.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 15, 2021

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/163148/XML-External-Entity-Via-MP3-File-Upload-On-WordPress.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Jun. 02, 2021

    Action Type Old Value New Value
    Changed Reference Type https://www.debian.org/security/2021/dsa-4896 No Types Assigned https://www.debian.org/security/2021/dsa-4896 Third Party Advisory
    Added CWE NIST CWE-611
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Apr. 23, 2021

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2021/dsa-4896 [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 22, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rv47-pc52-qrhh No Types Assigned https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-rv47-pc52-qrhh Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2021/04/msg00017.html No Types Assigned https://lists.debian.org/debian-lts-announce/2021/04/msg00017.html Mailing List, Third Party Advisory
    Changed Reference Type https://wordpress.org/news/category/security/ No Types Assigned https://wordpress.org/news/category/security/ Release Notes, Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* versions from (including) 5.6.0 up to (excluding) 5.7.1
  • CVE Modified by [email protected]

    Apr. 21, 2021

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2021/04/msg00017.html [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 4
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

88.73 }} 0.85%

score

0.99486

percentile